• Joined on 2022-02-27
mars created pull request mars/sprite-rs#8 2022-03-27 18:59:37 +00:00
WIP: Monomorphization (generic-less semantic analysis)
mars created branch mono in mars/sprite-rs 2022-03-27 18:55:44 +00:00
mars pushed to mono at mars/sprite-rs 2022-03-27 18:55:44 +00:00
mars pushed to main at mars/sprite-rs 2022-03-27 18:43:06 +00:00
917c590ce9 Add mandelbrot_scalar example
36f2cf90ab Rename simple_math() to i64_math()
Compare 2 commits »
mars pushed to main at mars/sprite-rs 2022-03-27 05:50:45 +00:00
243990971d While statements
f8ec9c19d6 Translate if statements
Compare 2 commits »
mars pushed to main at mars/sprite-rs 2022-03-27 04:31:05 +00:00
2098fef856 Branch local scoping
mars pushed to main at mars/sprite-rs 2022-03-27 03:59:04 +00:00
eacd907c3b Add failing if_scopes() test
de051f71b8 If expressions
Compare 2 commits »
mars pushed to main at mars/sprite-rs 2022-03-26 23:08:34 +00:00
916b2a653e Mutable locals
90c8836309 immutable let statements
9e2786d593 simple_args() test
f45cbe64f3 simple_math() test
Compare 4 commits »
mars pushed to main at mars/sprite-rs 2022-03-26 15:44:18 +00:00
3626e2c994 Cleanup source formatting
716ad3e4e9 Translate function (no args yet)
c884287d33 Add initial JIT compilation
ae2a0122d8 Derive more traits for ast
Compare 4 commits »
mars pushed to main at mars/sprite-rs 2022-03-26 00:36:23 +00:00
8bfd99fc20 Initial PestParser BuildAst impl
26b339adba Example unit tests w/ macro + BuildAst::build_source_ast()
70c90b5998 Remove AST self-parsing
d1fb0600f8 Pass RecursiveDescent tests
fb50827f2f WIP dedicated recursive descent module
Compare 10 commits »
mars pushed to pest at mars/sprite-rs 2022-03-26 00:34:56 +00:00
8bfd99fc20 Initial PestParser BuildAst impl
26b339adba Example unit tests w/ macro + BuildAst::build_source_ast()
Compare 2 commits »
mars pushed to pest at mars/sprite-rs 2022-03-25 23:35:44 +00:00
70c90b5998 Remove AST self-parsing
d1fb0600f8 Pass RecursiveDescent tests
fb50827f2f WIP dedicated recursive descent module
62109e84ad Move ParseTree to ast::Ast
Compare 4 commits »
mars pushed to pest at mars/sprite-rs 2022-03-25 22:09:20 +00:00
3172d7d460 Remove token color theming
24414dcdd1 Move lexer into parse::
15687c337c Move pest parser into module
Compare 3 commits »
mars opened issue mars/sprite-rs#7 2022-03-25 06:58:28 +00:00
Parser framework for later
mars commented on issue mars/sprite-rs#6 2022-03-25 06:40:52 +00:00
Formal language specification

I'm currently re-implementing Sprite parsing using Pest, which consumes a parsing expression grammar (PEG) file and autogenerates parsing code.

Here's what the grammar looks…

mars created branch pest in mars/sprite-rs 2022-03-25 06:36:06 +00:00
mars pushed to pest at mars/sprite-rs 2022-03-25 06:36:06 +00:00
b47137d27d Add WIP Pest grammar
mars pushed to main at mars/sprite-rs 2022-03-25 03:29:21 +00:00
1eed7487ca Clean up a little
mars opened issue cyborg/cyborg#14 2022-03-25 03:24:09 +00:00
useful article on render graphs i guess
mars pushed to main at cyborg/cyborg 2022-03-24 04:41:08 +00:00
849bbbda14 UPGRADE readme