summaryrefslogtreecommitdiff
path: root/src/texec
AgeCommit message (Collapse)Author
2022-04-10A few fixesKyle Gunger
+ 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
2022-04-10Small fix for command line optionsKyle Gunger
2022-04-10Extra node data in errors to make your life easierKyle Gunger
2022-04-10Fixes for structs and enumsKyle Gunger
2022-04-10Tweak how continue and break performKyle Gunger
2022-04-09Fix bug with character literalsKyle Gunger
2022-04-09[EXEC] Hotfix for !== operatorKyle Gunger
2022-04-09[EXEC] Hotfix for loops without parametersKyle Gunger
2022-04-09[EXEC] A small additionKyle Gunger
+ <array>.append(<value>)
2022-04-09Comment out that one line that creates a lot of outputKyle Gunger
2022-04-09[EXEC] Hotfix for reading from filesKyle Gunger
2022-04-09[EXEC] Fixed one bug with pointersKyle Gunger
~ They're probably still buggy though
2022-04-09[EVAL] Inc/decKyle Gunger
+ Added support for increments and decrements ! Use with caution, might be especially buggy
2022-04-09[EVAL] Fix function callsKyle Gunger
2022-04-09TINT v1 (PRE-ALPHA)Kyle Gunger
+ 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
2022-04-09[EVAL] Get most things workingKyle Gunger
+ Calling methods and functions should work + Indexing and setting array values seems to work + Structs seem to work as intended !!! There are probably MANY bugs !!!
2022-04-09Break thingsKyle Gunger
~ Yes, I know this change breaks things. ~ It's so that I can build them back better later.
2022-04-08[EVAL] Control FlowKyle Gunger
+ Added support for loop and if + Added support for break statements inside CF blocks + Fixed a bug with floats not parsing in specific cases
2022-04-07[EXEC] evalIndex, len, and a few boolean opsKyle Gunger
2022-04-07[EVAL] Setting globalsKyle Gunger
+ Setting global variables now works ~ Defining/setting local variables still does not.
2022-04-07[EXEC] Some fixesKyle Gunger
+ 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
2022-04-07[EXEC] A few updatesKyle Gunger
+ 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
2022-04-03Fix errors in eval.go so that the project builds againKyle Gunger
Still doesn't really work though.
2022-04-03Flush out a few functions for creating structsKyle Gunger
2022-03-16[EXEC] Refactor value evalKyle Gunger
2022-03-15[HOTFIX] Fix tokens not generating at eofKyle Gunger
2022-03-12[EVAL] Some more refactorsKyle Gunger
~ Some code has been reworked + Needed code stubs - Builds are now broken
2022-03-09[EVAL] A few refactorsKyle Gunger
2022-03-06[EVAL] A bit more workKyle Gunger
2022-02-14[EXEC] Operator eval stubKyle Gunger
2022-02-13Fix build errorsKyle Gunger
2022-02-13Change how getModuleInPath worksKyle Gunger
2022-02-13[EXEC] Small progressKyle Gunger
2022-02-13[EXEC] Pointers.Kyle Gunger
2022-01-29[EVAL] A few libtnsl fixesKyle Gunger
2022-01-28[EVAL] Find and return relative module dataKyle Gunger
2022-01-21[EVAL] change how structs are representedKyle Gunger
2022-01-19[EVAL] Fill out evalBlockKyle Gunger
2022-01-19[BUILDER] Fix modules beginning with 'export'Kyle Gunger
2022-01-19[EVAL] Small updateKyle Gunger
+ Fix a bug with finding names of blocks + More verbose output + Fill out the main eval func a little
2021-12-15[EXEC] fix multi-level array and struct globalsKyle Gunger
2021-12-15[EXEC] Better mappingKyle Gunger
+ added support for mapping global arrays.
2021-12-14[EXEC] Struct mappingKyle Gunger
+ added tStruct TType for use in modules + implemented a way to define structs in modules
2021-12-11[EVAL] Still needs some workKyle Gunger
+ modules now define variables properly + fixed some bugs in eval.tnsl with type checking ~ Needs to support arrays and composites, but doesn't yet.
2021-12-10[EXEC] Some literal handlers. Does not compile ATM.Kyle Gunger
2021-12-03General updatesKyle Gunger
+ Fill out eval a little and make sure that this builds. ~ CF kinda broken in AST. Gonna have to fix that. Upcoming Parser update.
2021-11-23[EVAL] Stubcode v2Kyle Gunger
2021-11-22[PARSE] Remove IsBlockKyle Gunger
2021-11-20[EVAL] Flush out some helper funcs (again)Kyle Gunger
2021-11-19[EXEC] Change file read type back to byte instead of runeKyle Gunger