Skip to content

Learning about compilers - a small ml language

License

Notifications You must be signed in to change notification settings

cakemanny/intml

Repository files navigation

intml

About

intml is a small ml language I've been implementing as part of learning about compilers. It's mostly a subset of ocaml but with the main difference so far, that product types are compact in memory rather than being a chunk of pointers.

It has a lexer, parser, type-infering type-checker and code generator. It outputs 64-bit x86 code for windows, macOS and linux; and 32-bit linux arm.

The name came from the plan that it would just support an int type and calculations, but now strings, lists, sum and product types

About

Learning about compilers - a small ml language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published