4 ms·
Just for fun I threw up a project I've been working on: https://github.com/wbhart/Cesium https://github.com/wbhart/Cesium In backend.c (esp. lines 171 and fol
by wbhart 15y ago
Just for fun I threw up a project I've been working on:
https://github.com/wbhart/Cesium https://github.com/wbhart/Cesium
In backend.c (esp. lines 171 and following) you can find the beginnings of an LLVM backend (it does work, but doesn't do a whole lot atm).
The whole project is in a major rewrite at the moment. I had fully implemented the toy language described here:
http://selmer.warwick.ac.uk/cesium.pdf http://selmer.warwick.ac.uk/cesium.pdf
with an LLVM backend. But I was relying on closed source code for the parser generation and that began to nag at me, so I'm rewriting the entire thing from scratch to use greg (a fork of leg).
I'm also adding type inference this time around.