๐Ÿš€ SCM-Slang

Scheme-based implementations of Source, written in TypeScript

๐Ÿ“ฆ GitHub Pages Distribution

This repository provides a built version of the SCM-Slang library for use with Source Academy.

๐Ÿ“ How to use in Source Academy

  1. Go to Source Academy settings
  2. Navigate to the feature flags section
  3. Find the external library configuration
  4. Paste the URL above as the library source
  5. Enable the Scheme language feature

๐Ÿงช Available Exports

๐Ÿ” Testing the Library

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)', ...);