pj1/pj1-go
Petar Kapriš 9e1ef93990 Add modulo operators to lexer
Tokens MODULO and SLASH_MODULO are going to represent the modulo and
fmod operations on integers and floats, or return a pair with the
divisor and the modulo, respectively.
2025-01-22 19:25:10 +01:00
..
lexer Add modulo operators to lexer 2025-01-22 19:25:10 +01:00
tools Create tools package directory 2024-11-25 22:53:29 +01:00
util Move lexer and Error into separate packages 2024-11-25 22:54:23 +01:00
ast-print.go Add and test abstract syntax tree data type 2024-11-25 22:54:27 +01:00
ast-rpn.go Add reverse polish notation printer for AST 2025-01-22 19:24:34 +01:00
ast.go Add and test abstract syntax tree data type 2024-11-25 22:54:27 +01:00
gen-ast.go Add and test abstract syntax tree data type 2024-11-25 22:54:27 +01:00
go.mod Initial commit: completed simple lexer for pj1 2024-11-25 22:53:29 +01:00
go.sum Add and test abstract syntax tree data type 2024-11-25 22:54:27 +01:00
pj1.go Uncomment main function 2025-01-22 19:24:03 +01:00