31 Commits

Author SHA1 Message Date
ala89
eb29c03359 New error system 2023-12-15 14:11:44 +01:00
8e853aaaf2 parser: Add comma 2023-12-15 10:52:53 +01:00
4172071dba parser: Add continue & break 2023-12-15 10:37:44 +01:00
ad87228a45 Add for(;;) and fix analysis for UnaryPlus/Minus 2023-12-13 14:42:29 +01:00
cee884342a Add memory._debug_print() 2023-12-09 12:27:59 +01:00
0935dff3a5 Add static analysis 2023-12-08 15:59:45 +01:00
ala89
a1fa96a626 Add double type 2023-12-08 09:04:05 +01:00
a693258d77 Parser: Add while & for 2023-12-01 14:27:48 +01:00
285c054d37 Fix comp parse order 2023-11-24 11:15:17 +01:00
76770b6ecc Parse logical operators 2023-11-24 11:03:06 +01:00
b7dcca2d47 Parser: Renaming grammar symbols 2023-11-24 11:03:06 +01:00
ala89
24228f80f5 Add scoped memory and centralize type dependencies 2023-11-22 13:52:16 +01:00
9b0c3900f8 Better if/else syntax errors 2023-11-17 11:01:57 +01:00
252e8ad829 Add ParseError: a dependent statement may not be a declaration 2023-11-17 10:49:10 +01:00
ec355abb20 Add NodeType::Bloc 2023-11-16 14:39:52 +01:00
1e0d372fc6 Add conditional statements parsing 2023-11-16 14:09:32 +01:00
51662cea3e Remove ; ) 2023-11-15 15:42:56 +01:00
b407b21cde Change position 2023-11-15 15:38:53 +01:00
ced173d80f main: add pretty errors 2023-11-15 15:23:33 +01:00
cef08d30e1 Add CodePosition to AST 2023-11-15 14:59:28 +01:00
b87bcd68b0 Add error pretty print 2023-11-15 14:37:20 +01:00
fcd0c34885 Added ParIdentifier, ++, --
(tokens & ast for now)
2023-11-14 17:00:34 +01:00
0b79ee7822 Parser:Fix bad variant access 2023-11-11 10:36:37 +01:00
6dece0b9d9 Clean debug tree 2023-11-11 09:06:44 +01:00
b07c06ec9f Create SyntaxError Exception 2023-11-11 09:05:49 +01:00
691bf3a232 Fix Expr & T parsing 2023-11-10 20:02:54 +01:00
46b9bc4cf4 Remove Epsilon Nodes 2023-11-10 19:13:25 +01:00
fea4292700 Add _debug_print_tree 2023-11-10 19:04:24 +01:00
966bd36dad Fix ParserException not catched 2023-11-10 17:53:41 +01:00
ala89
ede4dea616 Add interpreter 2023-11-10 17:35:33 +01:00
a8e6a4552b Add parser.cpp 2023-11-10 17:27:54 +01:00