itycodes
828d0aa567
Modify the language's store-ptr syntax to make it match the compiler
...
store-ptr now takes a symbol instead of a list containing a symbol to
make the compiler easier to write.
10 months 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.
10 months ago
itycodes
2c716e7b7d
Added an explicit :void type param to `fn` declarations
...
Currently only :void is allowed. We still need to emit the OpTypeVoid.
10 months ago
Avery
e80c32419c
Fix test dealing with `Localized`
10 months ago
Avery
b4ab40f10e
Add error handling and location tracking to the tokenizer and parser
10 months 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.
10 months ago
itycodes
0916a1910d
Initial work on the compiler
...
So far it only generates the metadata
10 months ago
itycodes
e2bd50a3a1
Fix the implicit type generators for vectors
...
Instead of vec4f, we now have v4f32, for vector 4 of float 32 bits
10 months ago
itycodes
0902762066
Initial commit
10 months ago