itycodes
e4ad937fe3
An initial README file :)
2 months ago
itycodes
900dc39fb4
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.
2 months ago
itycodes
c0a3cf87b7
Added an explicit :void type param to `fn` declarations
...
Currently only :void is allowed. We still need to emit the OpTypeVoid.
2 months ago
itycodes
93ff59d30e
Refactoring, error reporting, more tests
...
Reviewed-on: #2
2 months ago
Avery
db7be30a7a
Refactor and error handling for compiler
2 months ago
itycodes
5df23394c3
Cargo fmt
2 months ago
itycodes
c2dabb8157
Applied cargo fmt, location tracking, error handling
...
Reviewed-on: #1
2 months ago
Avery
1bb4206a3b
Fix test dealing with `Localized`
2 months ago
Avery
38fc11590b
Add error handling and location tracking to the tokenizer and parser
2 months ago
itycodes
8de6ef1ec3
Fixed type generation
2 months ago
itycodes
6343fdf1fc
Broken; Rust's Display trait is weird. Help.
2 months 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.
2 months ago
itycodes
bc2394bb4e
Tests
...
Added a regression assert into the compile test
2 months ago
itycodes
07dc4d62d9
Initial work on the compiler
...
So far it only generates the metadata
2 months ago
itycodes
da68ab6e73
Fix the implicit type generators for vectors
...
Instead of vec4f, we now have v4f32, for vector 4 of float 32 bits
2 months ago
itycodes
7a04fceedd
Initial commit
2 months ago