Scolkam Language Goals -Easily readable language -Syntax based on - - PowerPoint PPT Presentation

scolkam language goals
SMART_READER_LITE
LIVE PREVIEW

Scolkam Language Goals -Easily readable language -Syntax based on - - PowerPoint PPT Presentation

Scolkam Language Goals -Easily readable language -Syntax based on Python -General purpose -Object Oriented Compiler -Scolkam files end in .sco extension -End language is LLVM Language Basics -Types: Float, Int, Str, Bool, Tuple, None


slide-1
SLIDE 1

Scolkam

slide-2
SLIDE 2

Language Goals

  • Easily readable language
  • Syntax based on Python
  • General purpose
  • Object Oriented
slide-3
SLIDE 3

Compiler

  • Scolkam files end in .sco extension
  • End language is LLVM
slide-4
SLIDE 4

Language Basics

  • Types: Float, Int, Str, Bool, Tuple, None
  • Operators: + - * / > < = != == <= >= and not
  • Control Flow: for, while, if
  • No { }, use def and end
  • Unlike Python, no indentation/spacing requirements
slide-5
SLIDE 5

Testing

  • First test based on Micro-C compiler test suite
  • After that built on features defined in LRM
  • Started with Unit tests, worked up to Integration testing
slide-6
SLIDE 6

DEMO & Lessons Learned