e49fc397d3
Add documentation for fsplc command
2024-02-09 03:22:36 -05:00
0832a948bf
Completed doc comments in entity
2024-02-09 01:11:24 -05:00
b5b36c429e
Add module level doc comment to testcommon
2024-02-09 01:03:02 -05:00
af9ae75d5c
Add doc comments to integer
2024-02-09 01:00:54 -05:00
100861dc47
Added module-level doc comments to generator and generator/native
2024-02-09 00:57:06 -05:00
fad0a89dc9
Complete parser doc comments
2024-02-09 00:44:26 -05:00
4da3e81d3c
Note for later
2024-02-09 00:44:18 -05:00
5e5f112bfe
Added extensive doc comments to errors package
2024-02-08 23:42:04 -05:00
df7c45d479
Complete doc comments in lexer
2024-02-08 23:20:07 -05:00
6cf92b66f5
Removed lexer.Symbols
2024-02-08 23:06:58 -05:00
a236bb0804
Added module overview doc comment to lexer
2024-02-08 23:05:36 -05:00
e21a865c61
Compiler outputs formatted errors
2024-02-08 17:01:38 -05:00
b89bed2c94
Merge pull request 'error-interface' ( #23 ) from error-interface into main
...
Reviewed-on: sashakoshka/fspl#23
2024-02-08 21:55:47 +00:00
a70aa29701
Brought analyzer up to date
2024-02-08 16:53:15 -05:00
50cbebd399
Brought parser up to date
2024-02-08 16:51:48 -05:00
aa1dd6df0e
Brought lexer up to date
2024-02-08 16:50:42 -05:00
33c29acfb6
Line and column numbers are entirely handled by errors.Format
2024-02-08 16:48:52 -05:00
0d149d6fd7
errors.Error and errors.Position are in two different files
2024-02-08 16:24:46 -05:00
5f6dbf2baf
errors.Error is now an interface, implementation is hidden
2024-02-08 16:23:05 -05:00
122cafbc2b
Unexport generator.resultMode
2024-02-08 16:06:00 -05:00
fb95b935d6
Merge pull request 'remove-participle' ( #10 ) from remove-participle into main
...
Reviewed-on: sashakoshka/fspl#10
2024-02-08 18:34:18 +00:00
483c87b3a3
Merge pull request 'remove-participle-refit-generator' ( #9 ) from remove-participle-refit-generator into remove-participle
...
Reviewed-on: sashakoshka/fspl#9
2024-02-08 18:33:37 +00:00
e9b066d180
Fixed commaList
2024-02-08 13:32:15 -05:00
74e84c7da4
Fixed all generator tests
2024-02-08 13:32:04 -05:00
94a25f0aac
Generator compiles and runs
2024-02-08 13:14:21 -05:00
c6424ea315
Go mod tidy. No more participle, officially!
2024-02-08 13:12:42 -05:00
9a3532bd3e
Merge pull request 'remove-particple-refit-analyzer' ( #8 ) from remove-particple-refit-analyzer into remove-participle
...
Reviewed-on: sashakoshka/fspl#8
2024-02-08 18:08:31 +00:00
2f9f3614d6
Parser now accepts multiplication operations
2024-02-08 13:05:47 -05:00
b614dde503
Fix TestTypeInterfaceBehaviorUniqueErr
2024-02-08 12:57:20 -05:00
ba4a455d2e
Signature positions are stored properly
2024-02-08 12:54:31 -05:00
ed3d8e766c
Parser now includes positional information in toplevels
2024-02-08 12:52:47 -05:00
04b4d71c64
Bring analyzer tests up to date as much as possible
2024-02-08 12:49:17 -05:00
b6cc02fcb8
Change interface prefix from ? to ~
...
? will eventually be used in place of * to denote an optional
pointer, and ~ already means "approximation", which works well for
a polymorphic data structure.
2024-02-08 04:10:11 -05:00
b3fc38e7c0
Remove rouge println in parser
2024-02-08 04:00:25 -05:00
bb2d1966b9
Off by one error oh my god
2024-02-08 03:58:29 -05:00
cf75245820
Updated analyzer's test-common.go
2024-02-08 03:56:09 -05:00
d6a645f93b
Rework analyzer code to fit new parser
2024-02-08 03:51:21 -05:00
17e3d1dfbe
Merge pull request 'parser-remove-participle' ( #7 ) from parser-remove-participle into remove-participle
...
Reviewed-on: sashakoshka/fspl#7
2024-02-08 08:29:23 +00:00
8ec3649637
Parse namespaced function calls
2024-02-08 03:28:09 -05:00
823cb44406
Bring most tests up to date
2024-02-08 03:13:40 -05:00
1f3f94e24f
Parse member access, assignment, method calls
2024-02-08 03:10:02 -05:00
fa252e59ab
Loll oops
2024-02-08 02:22:57 -05:00
93c9f42aab
Unify entity.Statement and entity.Expression
2024-02-08 02:22:19 -05:00
f04bf32ce2
Relaxed unneeded rules on AST
2024-02-08 02:19:00 -05:00
50fc1d16de
Parse bit and value casts
2024-02-08 01:54:29 -05:00
d724b16cdc
Parse reference operations
2024-02-08 01:37:36 -05:00
abbc8e52bf
Parse length operations
2024-02-08 01:33:55 -05:00
90a505540e
Parse slice operations
2024-02-08 01:29:16 -05:00
92b15eef6c
Struct literals print correctly
2024-02-08 00:56:43 -05:00
3d89ed08cc
Parse operations
2024-02-08 00:50:54 -05:00