Giter VIP home page Giter VIP logo

purs-backend-chez's Introduction

purs-backend-chez

Snapshots

To run snapshots, run npm run test. To overwrite old snapshots with the latest output, run npm run test -- -a "--accept". To add a new snapshot, create a file called Snapshot.X.purs where X indicates what is being tested. If a snapshot needs a dependency, install it by running spago -x test-snapshots/spago.dhall install <packages...>. The snapshots have their own spago.dhall file so as not to pollute the purs-backend-chez binary with unneeded dependencies.

purs-backend-chez's People

Contributors

jordanmartinez avatar purefunctor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

purs-backend-chez's Issues

Improving codegen test results

I'm somewhat following along with your work here. However, without a PureScript source file to use as my mental model for what's being input into the codegen, I'm not sure what the corefn you have stored in a String represents.

Thoughts on duplicating what's done in purs-backend-es to test the codegen of this backend?

Contributing

Hello Mr functor.

I'm currently also working on a Chez Scheme backend and wonder if it might be worth combining efforts.

The way I've structured my project is to basically keep the CoreFn -> Chez Scheme implementation written in Chez Scheme to maintain simplicity and to take advantage of Lisp's superior code generation capabilities. A downside of this is that Chez Scheme has a barebones echo system of libraries so I've worked to implement everything I need to make the transpiler easy to implement; I probably won't need more than chezscheme-match and chezscheme-json (currently being cleaned up after a refactor) though which should be ready to be used.

A separate project I'm working on is a Chez Scheme IDE extension for Visual Studio Code. Two of the main features are interactive debugging and unit test exploration. Anyway, one idea I had was to allow a CoreFn -> Chez Scheme transpiler to output instrumented code such that the Chez Scheme IDE debugger could work seamlessly for PureScript as well.

I'm looking forward to hear more about what your plans are for this project and to see if there's room for cooperation.

// Regards
Björn Kihlberg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.