Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 788 Bytes

TODO.md

File metadata and controls

27 lines (19 loc) · 788 Bytes

##TODO

  • add arrays (lists)

  • add array short-hand declarations: a[] = [0..5] // [0,1,2,3,4,5] also, allow for specifying the array limit: a[5] = [10..20] // [10,11,12,13,14,15]

  • add string templates: This is a { variable } embedded inside a string"

  • add string limits: str myString[3] = "Hello" // "Hel"

  • add enums

  • no need for 'break' in switch-case

  • maybe: add 'range' syntax: myArray[0..5]

  • maybe: add when operator

  • maybe: add short-hand functions

  • maybe: pass all non-priitive types to functions as const &

  • make define namespace separate from variable scopes (so one can't redefine language keywords and variables)

  • inlude header guards by default

Add warnings for

  • unused vars
  • unreachable code

DONE:

  • add default parameters