summaryrefslogtreecommitdiff
path: root/src/tparse
AgeCommit message (Collapse)Author
2022-06-26[AST] ParentheticalsKyle Gunger
+ Add support for parentheticals + Add uint as a valid type for the evaluator
2022-04-12Giving priority to comparison operators over boolean opsKyle Gunger
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-09[PARSE] Hotfix for array indexingKyle Gunger
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-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] 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-04Fix tokenizer bug relating to end of filesKyle Gunger
2022-03-15[HOTFIX] Fix tokens not generating at eofKyle Gunger
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-03[PARSE] Fix hex parsingKyle Gunger
~ Apparently CF does work, it was probably just something on my end + Fix parsing of numeric literals with bases other than 10
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-04[EXEC] Flush out a couple of funcsKyle Gunger
+ I no longer understand my own code.
2021-11-02[EXEC] General changes, refactoringKyle Gunger
2021-11-01[AST] Bugfix for type parsingKyle Gunger
2021-11-01[EXEC] Flush out some thingsKyle Gunger
+ Some initial stub code for tnsl + Finalize structs (for now) + Add a key type to the parser
2021-10-31[AST] BugfixesKyle Gunger
+ Fix negative number parsing + Fix some keyword parsing bugs + Fix some value parsing bugs (self, super)
2021-10-31[AST] Enum and method blocksKyle Gunger
2021-10-31[AST] Add initial operator and module casesKyle Gunger
+ Modules at least mostly parse properly. ~ I'm mostly just working tword a minimum viable program at this point.
2021-10-31[AST] Handle control flow blocksKyle Gunger
+ Initial support for control flow blocks. Things will be fixed as I find bugs.
2021-10-31[AST] more fixes, slight restructureKyle Gunger
+ changes for composite values + more void type fixes
2021-10-31[AST] another bugfix for void typesKyle Gunger
2021-10-30[AST] Refactor and unary fixesKyle Gunger
+ clean up the output a bit + restructure the tree a bit with reguards to unary ops + better error checking for misuse of unary ops
2021-10-30[AST] Return and type fixesKyle Gunger
+ Allow types to include the . operator + Allow returns to have more than one value
2021-10-30[AST] Bugfix 'void'Kyle Gunger
Basic bugfix to get void types parsing. Hopefuly this fixes other bugs too.
2021-10-30[AST] Properly address "return"Kyle Gunger
2021-10-30[AST] Fixes for some statements in blocksKyle Gunger
2021-10-29[AST] General bugfixesKyle Gunger
We have emerged into the testing phase of the AST. Very basic statements seem to parse here, but not much else.
2021-10-29[AST] isTypeThenValueKyle Gunger
It might work (?)
2021-10-29[HOTFIX] Actually call a functionKyle Gunger
I am dumb, so dumb in fact that I apparently someteimes forget to actually *call* my own code.
2021-10-29[AST] Def checkingKyle Gunger
Add some placeholder code
2021-10-29[AST] Statement parsing (incomplete)Kyle Gunger
Still need to figure out a check for a type followed by a value
2021-09-03Massive changes for value and type parsing logicKyle Gunger
2021-08-31Spaghetti code checks for delimiters in valuesKyle Gunger
2021-08-30Scrap old spec, add initial value parsingKyle Gunger
2021-08-01Split main fileKyle Gunger
2021-05-03fixed bug caused by previous bugfixKyle Gunger
2021-05-03tokenizer bug fixKyle Gunger
2021-04-30Destroy my own code by using gotoKyle Gunger
2020-12-06Small updateKyle Gunger
2020-11-30Seperate tree code to multiple filesKyle Gunger
2020-11-18Remove link to parent from nodesKyle Gunger
2020-11-17small error updateKyle Gunger
2020-11-17Parse list/value list fixesKyle Gunger
2020-11-17Write value list parserKyle Gunger
2020-11-16Start of parselist funcKyle Gunger
2020-11-06Start work on AST generationKyle Gunger
2020-09-20Basic updatesKyle Gunger
- Move preprocessor to it's own file - Begin working on new delimiters - Begin working on blocks in the tree