grin/MVP.md
2018-02-07 16:30:52 +01:00

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