itycodes
c6da0d4902
An initial README file :)
3 weeks ago
itycodes
43b12de508
Replace the :void type expr with :<>
...
`void` collides with the simplistic type parser, which expects single
char types. `()` collides with the S-expression parser.
Specifically, it hits the `v` for vector case. This could be fixed by
rewriting the type parser, but I like to keep the whole compiler as
simple as possible for now.
3 weeks ago
itycodes
2c716e7b7d
Added an explicit :void type param to `fn` declarations
...
Currently only :void is allowed. We still need to emit the OpTypeVoid.
3 weeks ago
Avery
9aafb9758f
Refactor and error handling for compiler
3 weeks ago
itycodes
1e1d0911e4
Cargo fmt
3 weeks ago
Avery
e80c32419c
Fix test dealing with `Localized`
3 weeks ago
Avery
b4ab40f10e
Add error handling and location tracking to the tokenizer and parser
3 weeks ago
itycodes
5f041f491a
Fixed type generation
3 weeks ago
itycodes
3d5369cc36
Broken; Rust's Display trait is weird. Help.
3 weeks ago
itycodes
6036a5fe90
Initial work on SPIR-V assembly generation
...
Atm it only handles the basic metadata in modules.
Doesn't generate code for functions, or types.
Type handling is just a placeholder %undefined_type.
3 weeks ago
itycodes
3a3d9b46f4
Tests
...
Added a regression assert into the compile test
3 weeks ago
itycodes
0916a1910d
Initial work on the compiler
...
So far it only generates the metadata
3 weeks ago
itycodes
e2bd50a3a1
Fix the implicit type generators for vectors
...
Instead of vec4f, we now have v4f32, for vector 4 of float 32 bits
3 weeks ago
itycodes
0902762066
Initial commit
3 weeks ago