purec icon indicating copy to clipboard operation
purec copied to clipboard

C backend for PureScript

Results 15 purec issues
Sort by recently updated
recently updated
newest added

Update the `mk/target.mk` file to have a one-to-one mapping from corefn.json to a .c file, something like: `%.c: %/corefn.json`. That means Make can compile the corefn jsons into C files...

tooling

Currently compiling `Data.Either.Nested` takes about 10 seconds. It emits about 84k lines of code! So we should (a) investigate optimization passes to remove the lines to output and (b) make...

good first issue
performance
optimization

Implement an equivalent for the `inlineCommonOperators` pass in PureScript. https://github.com/purescript/purescript/blob/master/src/Language/PureScript/CoreImp/Optimizer/Inliner.hs#L109 I think a good few hours can be sunk into this one alone, but will be worth it. We should...

enhancement
optimization

It would be preferable if the files could be copied as part of purs compile so that we can have incremental rebuilds of single modules. Currently the only way to...

tooling

https://github.com/purescript/purescript/blob/b07042fb7b4f6a68c0fdc68b7e51076b7106cfba/src/Language/PureScript/CoreImp/Optimizer/MagicDo.hs

enhancement
performance
optimization