Skip to content
Snippets Groups Projects

Repository graph

You can move around the graph by using the arrow keys.
Select Git revision
  • feature-args
  • feature-function
  • feature-repl
  • feature-variables
  • main default protected
5 results
Created with Raphaël 2.2.012Apr987632131Mar302714131098725Feb191814Improved scope and block management. Implement a max depth for scope aswell as a check if a new scope is needed in block calls.feature-functio…feature-function mainDestructor for scope, prevent functions with the same name as built in functionsremoved unnecessary includesfeature-variablesfeature-variablesDeclaring variables now typechecks initializerImplement functions, return statements, and pipe operator along with a number of other fixes.Update project deadlines table with status columnInit all variables to prevent segfault. ARGS is most likely done now.feature-argsfeature-argsMerge branch 'main' into feature-argsImproved arg parser, updated README and new error messages.feature-replfeature-replMerge branch 'main' into feature-argsMostly stable REPL implementation with same scope evaluation and new exit functionBuggy but functional var arethetic operations. leng of args work, but not print on empty args.WIP for command line arguemtns. Calling length on an empty args list causes segfault.Prep parser and main for both REPL and command line arguments. Not yet implemented.Identifiers can now reach variables in the scope. However not currently working with arithmetic operations. Think the AST for that one has priority before variable lookupMessy but functional code for bot calls and method calls. say [1,2,3].length(). Will need to be refactored.Improved print function, with example fileIf/else/if else + While implementedCompile with -g for debugMerge branch 'variables' into 'main'Merge branch 'main' into 'variables'adding declared and initilized variables to scopeOopsAdded function calls, built in standard functions for print and readImplemented basic scope managementRemoved eval caching since nodes will be evaluated in loops and such.Fix tests so they work with the new Token op instead of enumsChanged include path, moved ProgramNode to BlockNode to be used later.Moved expression nodes to own folderImplemented so multiple statements can be evaluated, fixed some location issues for pretty error messagesMore comments, some parts via Claude 3.7Improved main file with tokens, ast and debug settings.Allow for both string and char concat in any order.Simplify OpNodes with Tokens instead of Op specific enumsBugfix for Parser + reminder for scopeParser MVP done, math and bool expr.Added FileError and special case for missing filenames in traceUnaryOp implemented ("!" and "-") with testsBinaryOp implemented (such as +, ==, && and ^) with testNew Node evaluate() and get_value() pipeline with new NodeValue class
Loading