Skip to content

TODO

Fixes

  • Fix operator overloading going through an infinite loop if used in def function
  • Fix not being able to have user-defined type lists
  • Fix parser error when using class fields/methods from a list
  • Fix unicode on windows
  • Fix type comparing is with lists and str
  • Unordered comparison for not equal floating point comparison

Improvements

  • Improve warning messages
  • Add indentation related errors
  • Remove clang as a dependency
  • Add support for functions with same name but different parameters (name mangling)
  • Fix local - global variable behaviour, currently there's an implicit main func
  • String/Lists are currently unsupported on: input function, operators, etc.
  • Find a way to use pointers and null for FFI but restrict or disallow it in normal Lesma
  • Allow functions to be used as return types
  • Implement type checking for function return types
  • Allow ranges to be used as list expressions

Features

  • Implement Class inheritance
  • Implement multiple inheritance
  • Implement Dictionary
  • Implement 'in' as a boolean result
  • Implement Closure
  • Implement string interpolation
  • Implement string operators

Ecosystem

  • Implement a functional Visual Studio Code plugin
  • Implement syntax highlighting
  • Implement autocomplete
  • Implement go to definition, etc

Documentation

  • Add docs for mixed arithmetic
  • Improve docs as much as possible for v0.5

Source Code

  • Start migration to C++
  • Use dataclasses and static typing as much as possible
  • Move error messages from source files to typechecker