pure-c / purec

C backend for PureScript
232 stars 8 forks source link

Compile pure-c using pure-c #29

Open felixSchl opened 5 years ago

felixSchl commented 5 years ago

Depends at least on #12, #10. This is a distant goal.

felixSchl commented 5 years ago

Probably the biggest hold up at this very moment is porting purescript-strings (#34 ). That frightens me more than parsing the corefn JSON.

felixSchl commented 5 years ago

Another hold up might be that purescript-corefn is currently written using purescript-foreign. Perhaps purescript-argonaut would be an easier alternative?

natefaubion commented 5 years ago

Argonaut at least gives you a foreign import hook for a Json parser, but the default parsers are not stack safe since they assume Either String, so it will still require a little work. It also uses Foreign.Object as the hash map representation, so that is an additional dependency to work out.