8000 GitHub - winstonwolff/tychon: Experiments in a Lispy-Smalltalky-Pythony language
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

winstonwolff/tychon

Repository files navigation

Tychon — An experiment in a python-y smalltalk-y lisp-y embedded language.

Python Parser Usage

cd python
./run_tests.sh                        # run the tests
./tychon.py <sourcefile>.ty           # execute a source file
./tychon.py                           # a REPL

Developer setup

brew install entr

cd python
pip install -r requirements.txt

Run it all together

cd tychon
honcho start
open http://localhost:3000

Now you can edit main.ty and it's loaded into browser.

Wasm Interpreter Usage

cd wasm-as ./runit.sh # launch server and compiler npm test # run unit tests npm run test:watch # re-run test when a file changes

Programming language for teams

  • communication
    • reference docs
    • tutorial docs
    • examples
    • executable specifications
  • overview of system — tools to build SVG illustrations of how subsystems relate, with hyperlinks into the generated documentation so new developer can get overview of system without reviewing every file.
  • relationships - what files are imported by other files? What functions are used by other functions?
  • architectural rules — set contraints for how the subsystems may communicate.
    • separation of concerns - E.g. controllers and views can call models, but not vice versa
    • mark functions as 'pure', and they can only call other 'pure' functions.
    • Eifel style contracts

Docs

To Do List Abstractions

Ideas

Dreams and Wishes New Functional Lang Description Language

References on PEG & Packrat parsers

References for assembly script

About

Experiments in a Lispy-Smalltalky-Pythony language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0