Scheme-based implementations of Source, written in TypeScript
This repository provides a built version of the SCM-Slang library for use with Source Academy.
Use this URL in Source Academy's feature flag:
https://trk95.github.io/scm-slang-pages/dist/index.js
You can test if the library loads correctly by opening the browser console and running:
// Load the library
const script = document.createElement('script');
script.src = 'https://trk95.github.io/scm-slang-pages/dist/index.js';
document.head.appendChild(script);
// After loading, you can test:
// parseSchemeSimple('(+ 1 2)');
// evaluate('(+ 1 2)', ...);