mirror of
https://github.com/grin-compiler/grin.git
synced 2024-08-17 09:50:43 +03:00
755 B
755 B
builtin types
- word
- int
- float
- bool
primops
- add / sub (float + int + word)
- mul / div (float + int + word)
- gt / ge / lt / le (float + int + word)
- eq / ne (float + int + word + bool)
features
- node support for codegen
- no garbage collector
- support for builtin types and primops
- single module (no module system)
- GRIN type system
- typed transformations
- compiled HPT
documentation
- HPT
- llvm codegen ; HPT as LLVM type inference
- shape functor ; pro / cons
- GRIN type system
sample programs
- observe compilation stages: GRIN -> LLVM -> x64
after the MVP
- LLVM codegen from high level GRIN without analysis
- migrate runtime values from universal representation to the optimized one