PyScheme
A small demo lambda-language written in Python
Install / Use
/learn @billhails/PySchemeREADME
PyScheme
A small lambda-language interpreter written in Python
Syntax is very much in the javascript/C/Java style, and I'm currently parsing with a hand-written recursive descent parser, which isn't ideal.
First Impressions
To get a feel for the language, first check out the wiki, then
read through the integration tests in pyscheme/tests/integration
Cloning
I'm new to Python so if anyone has any better way of doing this please comment.
In order to get this running on my laptop after pushing to GitHub from my home computer I did the following:
- Use PyCharm to create a new project called PyScheme.
- go to your pycharm projects root directory:
cd ~/PycharmProjects
- clone this repository to a temporary location alongside (not in) the PyScheme project:
git clone git@github.com:billhails/PyScheme.git pyscheme-tmp
- Copy everything from that temp location into the PyScheme directory (note the trailing slashes):
cp -R pyscheme-tmp/ PyScheme/
- delete the unneeded temporary clone:
rm -rf pyscheme-tmp
- check that it worked:
cd PySchemegit status
If, like me, you're using PyCharm CE, You'll additionally need to install coverage. To install coverage
go to the root of the distro and do
$ source ./venv/bin/activate
$ pip install coverage
Test Coverage
Once those packages are installed, to see test coverage just run the run_coverage.py script, then open
htmlcov/index.html in your browser.
I believe that the PyCharm Professional edition has built-in coverage support.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
96.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
