mirror of
https://github.com/grin-compiler/grin.git
synced 2024-10-27 01:02:12 +03:00
505 B
505 B
builtin types
- word
- int
- float
primops
- add / sub (float + int + word)
- mul / div (float + int + word)
- gt / ge / lt / le (float + int + word)
- eq / ne (float + int + word)
features
- node support for codegen
- no garbage collector
- support for builtin types and primops
- single module (no module system)
- compiled HPT
documentation
- HPT
- llvm codegen ; HPT as LLVM type inference
- shape functor ; pro / cons
sample programs
- observe compilation stages: GRIN -> LLVM -> x64