Sasha Koshka
d6aa28602c
Remedy #25
2024-02-09 03:48:44 -05:00
Sasha Koshka
0de38082ec
Change parser constructor, tree's parsing methods
...
Now accept lexers instead of io.Readers
2024-02-09 03:44:29 -05:00
Sasha Koshka
4d19ad085f
Remove llvm/README.md
...
The information in that file is now a doc comment
2024-02-09 03:37:10 -05:00
Sasha Koshka
74a5527067
Add package level doc comment to llvm
2024-02-09 03:35:42 -05:00
Sasha Koshka
92070d142e
Add module level doc comment to analyzer
2024-02-09 03:30:24 -05:00
Sasha Koshka
e49fc397d3
Add documentation for fsplc command
2024-02-09 03:22:36 -05:00
Sasha Koshka
0832a948bf
Completed doc comments in entity
2024-02-09 01:11:24 -05:00
Sasha Koshka
b5b36c429e
Add module level doc comment to testcommon
2024-02-09 01:03:02 -05:00
Sasha Koshka
af9ae75d5c
Add doc comments to integer
2024-02-09 01:00:54 -05:00
Sasha Koshka
100861dc47
Added module-level doc comments to generator and generator/native
2024-02-09 00:57:06 -05:00
Sasha Koshka
fad0a89dc9
Complete parser doc comments
2024-02-09 00:44:26 -05:00
Sasha Koshka
4da3e81d3c
Note for later
2024-02-09 00:44:18 -05:00
Sasha Koshka
5e5f112bfe
Added extensive doc comments to errors package
2024-02-08 23:42:04 -05:00
Sasha Koshka
df7c45d479
Complete doc comments in lexer
2024-02-08 23:20:07 -05:00
Sasha Koshka
6cf92b66f5
Removed lexer.Symbols
2024-02-08 23:06:58 -05:00
Sasha Koshka
a236bb0804
Added module overview doc comment to lexer
2024-02-08 23:05:36 -05:00
Sasha Koshka
e21a865c61
Compiler outputs formatted errors
2024-02-08 17:01:38 -05:00
Sasha Koshka
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
Sasha Koshka
a70aa29701
Brought analyzer up to date
2024-02-08 16:53:15 -05:00
Sasha Koshka
50cbebd399
Brought parser up to date
2024-02-08 16:51:48 -05:00
Sasha Koshka
aa1dd6df0e
Brought lexer up to date
2024-02-08 16:50:42 -05:00
Sasha Koshka
33c29acfb6
Line and column numbers are entirely handled by errors.Format
2024-02-08 16:48:52 -05:00
Sasha Koshka
0d149d6fd7
errors.Error and errors.Position are in two different files
2024-02-08 16:24:46 -05:00
Sasha Koshka
5f6dbf2baf
errors.Error is now an interface, implementation is hidden
2024-02-08 16:23:05 -05:00
Sasha Koshka
122cafbc2b
Unexport generator.resultMode
2024-02-08 16:06:00 -05:00
Sasha Koshka
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
Sasha Koshka
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
Sasha Koshka
e9b066d180
Fixed commaList
2024-02-08 13:32:15 -05:00
Sasha Koshka
74e84c7da4
Fixed all generator tests
2024-02-08 13:32:04 -05:00
Sasha Koshka
94a25f0aac
Generator compiles and runs
2024-02-08 13:14:21 -05:00
Sasha Koshka
c6424ea315
Go mod tidy. No more participle, officially!
2024-02-08 13:12:42 -05:00
Sasha Koshka
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
Sasha Koshka
2f9f3614d6
Parser now accepts multiplication operations
2024-02-08 13:05:47 -05:00
Sasha Koshka
b614dde503
Fix TestTypeInterfaceBehaviorUniqueErr
2024-02-08 12:57:20 -05:00
Sasha Koshka
ba4a455d2e
Signature positions are stored properly
2024-02-08 12:54:31 -05:00
Sasha Koshka
ed3d8e766c
Parser now includes positional information in toplevels
2024-02-08 12:52:47 -05:00
Sasha Koshka
04b4d71c64
Bring analyzer tests up to date as much as possible
2024-02-08 12:49:17 -05:00
Sasha Koshka
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
Sasha Koshka
b3fc38e7c0
Remove rouge println in parser
2024-02-08 04:00:25 -05:00
Sasha Koshka
bb2d1966b9
Off by one error oh my god
2024-02-08 03:58:29 -05:00
Sasha Koshka
cf75245820
Updated analyzer's test-common.go
2024-02-08 03:56:09 -05:00
Sasha Koshka
d6a645f93b
Rework analyzer code to fit new parser
2024-02-08 03:51:21 -05:00
Sasha Koshka
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
Sasha Koshka
8ec3649637
Parse namespaced function calls
2024-02-08 03:28:09 -05:00
Sasha Koshka
823cb44406
Bring most tests up to date
2024-02-08 03:13:40 -05:00
Sasha Koshka
1f3f94e24f
Parse member access, assignment, method calls
2024-02-08 03:10:02 -05:00
Sasha Koshka
fa252e59ab
Loll oops
2024-02-08 02:22:57 -05:00
Sasha Koshka
93c9f42aab
Unify entity.Statement and entity.Expression
2024-02-08 02:22:19 -05:00
Sasha Koshka
f04bf32ce2
Relaxed unneeded rules on AST
2024-02-08 02:19:00 -05:00
Sasha Koshka
50fc1d16de
Parse bit and value casts
2024-02-08 01:54:29 -05:00