Skip to content

Conversation

@mykolav
Copy link

@mykolav mykolav commented Aug 30, 2021

coollang-2020-fs compiles a small but interesting Scala subset into x86-64 assembly.

  • It compiles down to x86-64 assembly. Then invokes GNU as and ld to produce a native executable.
  • The language is simple but not too simple. A lot of mini-compilers have languages with functions, primitive values and not much else. This project's language has classes, inheritance, virtual dispatch, and even a very simple form of pattern matching.
  • The compiler is implemented in F#.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant