Age | Commit message (Collapse) | Author |
|
+ Add support for parentheticals
+ Add uint as a valid type for the evaluator
|
|
+ Fix an error with if statements inside loops
+ Fix a parser bug with boolean operators
~ Change libtnsl stub to return integers when reading a file
~ Change libtnsl stub to return -1 on EOF or file read error
|
|
|
|
+ Added support for else/else if blocks
+ Fixed a bug with parsing string literals
+ Tested printing values to the cli
+ I think file writing/reading should work but it's a little hit or miss atm
|
|
+ Fix recursion error when converting arrays
+ Add conversion from bool to num
+ Fix conversion from num to bool
+ Flush out evalParams
~ Change type parsing for block returns
|
|
+ Value conversion
+ Value deep copy
+ The most basic program (returning 0) works
+ Opening a file to read is now differnet from opening a file to write
|
|
|
|
|
|
|
|
+ added tStruct TType for use in modules
+ implemented a way to define structs in modules
|
|
+ modules now define variables properly
+ fixed some bugs in eval.tnsl with type checking
~ Needs to support arrays and composites, but doesn't yet.
|
|
+ Fill out eval a little and make sure that this builds.
~ CF kinda broken in AST. Gonna have to fix that. Upcoming Parser update.
|
|
|
|
|
|
+ Fixed BuildRoot
+ Refactored world.go
- Deleted most of eval, I'm going to re-do it.
|
|
|
|
+ Stub code for eval funcs added
+ Refactor of libtnsl stub
|
|
|
|
|
|
+ Some initial stub code for tnsl
+ Finalize structs (for now)
+ Add a key type to the parser
|
|
+ Some initial files for use in the interpreter
|