Commit Graph

161 Commits

Author SHA1 Message Date
1b078176b3 Update README.md 2024-01-12 21:14:24 +01:00
2c0f8af34c Support files with non empty last line 2024-01-12 16:33:05 +01:00
ac872a64c9 Add debug.cpp 2024-01-12 16:22:04 +01:00
cdf52b85a5 Update Memory::_debug_print 2024-01-12 16:00:30 +01:00
2f1d9ab183 parser: Add debug function instead of array 2024-01-12 15:54:29 +01:00
ala89
c4b39ecc6e Rename some files 2024-01-12 15:52:52 +01:00
cc218d0834 Add casting.cpp 2024-01-12 15:40:03 +01:00
553c820a8a Rename headers to .hpp 2024-01-12 14:10:23 +01:00
5d0f86545e Add examples 2024-01-12 13:37:52 +01:00
66586a1427 Rename variables to camel case 2024-01-10 15:42:30 +01:00
df22a7f065 Use more space in _debug 2024-01-10 11:50:13 +01:00
6e1e6e2838 Implement more internal calls 2024-01-06 19:24:13 +01:00
ala89
bba2e812c4 Add standard functions 2024-01-05 19:05:44 +01:00
0a1a288df6 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-04 22:33:36 +01:00
4fa52ac5bf Authorize non-empty returns for void functions 2024-01-04 22:33:16 +01:00
ala89
279ccb5432 Add closure tests 2024-01-04 22:25:05 +01:00
ala89
b3cdc2af4f Merge branch 'main' of gitlab.aliens-lyon.fr:alucas03/c-repl into main 2024-01-04 22:07:58 +01:00
ala89
a40fc2f2d8 Fix closures 2024-01-04 22:07:57 +01:00
a4072085fa Fix ambiguous conversion 2024-01-04 22:07:11 +01:00
aa25c31bcf Allow unnamed parameters in function prototype 2024-01-04 21:55:17 +01:00
ala89
9749b13253 Merge branch 'main' of gitlab.aliens-lyon.fr:alucas03/c-repl into main 2024-01-04 21:53:49 +01:00
ala89
a2dd06b1bf Implement closures 2024-01-04 21:53:47 +01:00
6a646ecec7 Add incomplete type error 2024-01-04 21:22:35 +01:00
ac191716d9 Add column number 2024-01-04 19:39:31 +01:00
19116dcbd0 Pretty print stack trace 2024-01-04 19:31:48 +01:00
ala89
a0c1724b2e Rework stacktrace 2024-01-04 13:50:03 +01:00
ala89
dda04d8859 Add the stracktrace to RuntimeError 2024-01-03 20:30:37 +01:00
ala89
2d8316d7ff Add stacktrace to runtime errors 2024-01-03 18:59:34 +01:00
ala89
0ffb2b4884 Fix typo 2024-01-03 18:26:33 +01:00
ala89
a2da815832 Merge branch 'main' of gitlab.aliens-lyon.fr:alucas03/c-repl into main 2024-01-03 18:19:41 +01:00
ala89
de3f9a49b5 Add ControlError class 2024-01-03 18:14:55 +01:00
9161597c13 Analysis: check return value 2024-01-03 18:09:28 +01:00
1553df6328 Update tests 2024-01-03 17:51:27 +01:00
e9fb7c1e2b Add partial return analysis 2024-01-03 17:37:05 +01:00
1bfbd45c4a Add FunctionCall analysis 2024-01-03 17:25:43 +01:00
ala89
70aebb35a6 Refactor test execute functions 2024-01-03 16:20:42 +01:00
ala89
b5e51b8ebc Merge branch 'main' of gitlab.aliens-lyon.fr:alucas03/c-repl into main 2024-01-03 15:52:44 +01:00
ala89
5f232be286 Add interpretation of function calls 2024-01-03 15:52:41 +01:00
396bb5eed0 FunctionPrototype: add another analysis check 2024-01-03 15:28:51 +01:00
fc53bf3113 FunctionDeclaration analysis: add arguments definitions 2024-01-03 15:27:13 +01:00
8401d3d8b6 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-03 14:53:58 +01:00
83e12a5b7f Parse function call arguments as a vector instead of a tree 2024-01-03 14:53:18 +01:00
ala89
9b9558ce9f Fix pointer typo 2024-01-03 14:45:13 +01:00
ca02c78673 Add analysis of function declaration & prototype 2024-01-03 14:09:17 +01:00
4de0c57236 Add test/functions 2024-01-03 12:48:25 +01:00
400cf9e6d9 Update memory.cpp 2024-01-03 12:48:11 +01:00
d659fb9779 Add ErrorType::NestedFunction 2024-01-03 12:48:00 +01:00
ala89
b00f3c222d Add make_fn_prototype function 2024-01-03 12:01:40 +01:00
ala89
13b067f803 Add memory features for functions 2024-01-03 11:51:31 +01:00
68b952d105 Add option to disable parIdentifier 2024-01-03 11:06:15 +01:00