GitXplorerGitXplorer
M

haskell-compiler-cpp

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
66d90bed5196281b3166163478806708f4849b3b

Added numAssemblyIds which returns how many IDs an Assembly needs

MMarwes committed 11 years ago
Unverified
d0a1972a605f8ce39f42cec62546998e28bd9705

Added cast primitives for double -> int and int -> double

MMarwes committed 11 years ago
Unverified
2700228b1006ed420ed7c9d71827a77b41ab88a4

ADded test for typechecking partial applied operators

MMarwes committed 11 years ago
Unverified
c731e84387ebf480b4aecd2748de9c31c7278cd2

Added parsing of partially applied operators

MMarwes committed 11 years ago
Unverified
9fdf60918fddae15dd4d9444eb22013503e325e8

Added parsing of negative numbers (parse (-1) as (negate 1))

MMarwes committed 11 years ago
Unverified
3208340b4b7966aa3392ebc399bd6d0d5ef362e5

Added test on the Bools returned from the primitive comparison functions

MMarwes committed 11 years ago

README

The README file for this repository.

Haskell Compiler/VM

This is an old experiment I made writing a Haskell compiler in C++ which compiles down to G-Machine code. It implements basic parsing, typechecking and compilation but not much more as it was rewritten and continued in Rust.

Dependencies

Requires boost and Catch (for unittesting).

References

Implementing FunctionalLanguages: a tutorial

Rust implementation