All Projects → purescm → purescm

purescm / purescm

Licence: AGPL-3.0 License
Scheme backend for PureScript (a small strongly, statically typed programming language with expressive types, inspired by Haskell).

Programming Languages

scheme
763 projects
haskell
3896 projects
purescript
368 projects
Dhall
116 projects
python
139335 projects - #7 most used programming language
Nix
1067 projects
javascript
184084 projects - #8 most used programming language

purescm

Testing

Adding test cases

  1. Create the test cases in test/resources/purescript/src/PureScheme/Test. Keep each module as small as possible and don't be afraid to create multiple modules.

  2. Run python gen_tests.py. This will compile the modules to Scheme and leave the output in test/resources/scheme.

  3. Check the output for correctness.

  4. You're done, you just added new test cases. Commit both the source files and the output files.

Moving/renaming/deleting modules

  1. Make your changes to the PureScript source files.

  2. Remove all the contents from test/resources/scheme.

  3. Run python gen_tests.py.

  4. Check the output for correctness.

  5. Commit both the source files and the output files.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].