itycodes
77ae300c2c
An initial README file :)
3 weeks ago
itycodes
5c1e3e446b
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
8280be8973
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
6cf6beda27
Frontend and Error printing
4 weeks ago
Avery
db7be30a7a
Refactor and error handling for compiler
4 weeks ago
itycodes
5df23394c3
Cargo fmt
4 weeks ago
itycodes
c2dabb8157
Applied cargo fmt, location tracking, error handling
...
Reviewed-on: #1
4 weeks ago
Avery
1bb4206a3b
Fix test dealing with `Localized`
4 weeks ago
Avery
38fc11590b
Add error handling and location tracking to the tokenizer and parser
4 weeks ago
itycodes
8de6ef1ec3
Fixed type generation
4 weeks ago
itycodes
6343fdf1fc
Broken; Rust's Display trait is weird. Help.
4 weeks ago
itycodes
bee73acb5e
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.
4 weeks ago
itycodes
bc2394bb4e
Tests
...
Added a regression assert into the compile test
4 weeks ago
itycodes
07dc4d62d9
Initial work on the compiler
...
So far it only generates the metadata
4 weeks ago
itycodes
da68ab6e73
Fix the implicit type generators for vectors
...
Instead of vec4f, we now have v4f32, for vector 4 of float 32 bits
4 weeks ago
itycodes
7a04fceedd
Initial commit
4 weeks ago