itycodes
e4ad937fe3
An initial README file :)
10 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.
10 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.
10 months ago
itycodes
93ff59d30e
Refactoring, error reporting, more tests
...
Reviewed-on: #2
10 months ago
Avery
db7be30a7a
Refactor and error handling for compiler
10 months ago
itycodes
5df23394c3
Cargo fmt
10 months ago
itycodes
c2dabb8157
Applied cargo fmt, location tracking, error handling
...
Reviewed-on: #1
10 months ago
Avery
1bb4206a3b
Fix test dealing with `Localized`
10 months ago
Avery
38fc11590b
Add error handling and location tracking to the tokenizer and parser
10 months ago
itycodes
8de6ef1ec3
Fixed type generation
10 months ago
itycodes
6343fdf1fc
Broken; Rust's Display trait is weird. Help.
10 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.
10 months ago
itycodes
bc2394bb4e
Tests
...
Added a regression assert into the compile test
10 months ago
itycodes
07dc4d62d9
Initial work on the compiler
...
So far it only generates the metadata
10 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
10 months ago
itycodes
7a04fceedd
Initial commit
10 months ago