ce3d92e0a5
Log error when variable is unknown type.
Deukhoofd2021-01-09 14:12:09 +01:00
0fbca3f01e
Fixes for tests, support for comments.
Deukhoofd2021-01-09 13:43:29 +01:00
59af34fac9
Rework text spans a bit to include script file, make binder log an error when two classes have a circular value reference.
Deukhoofd2021-01-09 13:20:56 +01:00
8660933f27
More work on binder type registration, support in REPL to show registered types.
Deukhoofd2021-01-08 18:18:24 +01:00
093ffde6bc
Initial work on type registration in the binder.
Deukhoofd2021-01-08 16:14:02 +01:00
da82819fff
More work on better parser logging.
Deukhoofd2021-01-06 13:32:06 +01:00
034dcb118b
Fixes issue in lexing numerical base consuming character after it, removes test for invalid numerical base.
Deukhoofd2021-01-06 11:48:24 +01:00
cf8d6ce18b
When an integer starts with a 0, and is followed by a non numerical symbol just lex it as a 0 literal, followed by another token.
Deukhoofd2021-01-06 00:53:02 +01:00
807fe63828
More detailed error messages for lex errors.
Deukhoofd2021-01-06 00:25:08 +01:00
2327134e36
Fixes issue where string lex token position start would be off by one.
Deukhoofd2021-01-06 00:08:47 +01:00
d907a58f64
Initial work on more detailed error messages.
Deukhoofd2021-01-06 00:06:39 +01:00
7d0c5cbbed
better namespace parse tree stringification.
Deukhoofd2021-01-05 19:26:11 +01:00
b4c18e0f09
Many fixes for namespace parsing.
Deukhoofd2021-01-05 19:21:06 +01:00
bfe27ec20f
Better handling of diagnostics in the REPL.
Deukhoofd2021-01-05 18:17:40 +01:00
340d37f4a1
Implements scrolling in the InputWindow of the REPL.
Deukhoofd2021-01-05 15:51:59 +01:00
b73bfe6482
Make parser be able to skip tokens when encountering an unexpected token.
Deukhoofd2021-01-05 13:20:34 +01:00
d9d52554e4
Always show parse tree in REPL, even if we have a diagnostic.
Deukhoofd2021-01-05 12:37:13 +01:00
f328762cd8
Clean up REPL a bit by moving InputWindow to special class.
Deukhoofd2021-01-05 00:13:42 +01:00
5c086ee066
Adds more parse tree stringification.
Deukhoofd2021-01-04 22:54:04 +01:00
dbef09f4bb
Adds backward to REPL for better error logging.
Deukhoofd2021-01-04 13:33:52 +01:00
9fcf296442
Fixes memory issue in MemoryPool.
Deukhoofd2021-01-04 13:33:29 +01:00
cf09f9348c
More work on stringification of the parse tree.
Deukhoofd2021-01-03 15:44:53 +01:00
08a0859539
Move parse tree stringification away from the main parsed statements, and into a helper function class.
Deukhoofd2021-01-03 15:10:43 +01:00
4c4faac899
Add commas between parameters in REPL.
Deukhoofd2021-01-03 14:50:14 +01:00
54ccac6d96
Disable parenthesis warning in GCC. This is handled already in the formatter, and goes against bugprone-macro-parentheses.
Deukhoofd2021-01-02 00:01:20 +01:00