https://github.com/samth/semilit
Semiliterate programming in Racket
https://github.com/samth/semilit
Last synced: 6 months ago
JSON representation
Semiliterate programming in Racket
- Host: GitHub
- URL: https://github.com/samth/semilit
- Owner: samth
- Created: 2012-09-01T19:53:35.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T02:36:28.000Z (over 5 years ago)
- Last Synced: 2025-03-17T18:01:26.575Z (over 1 year ago)
- Language: Racket
- Size: 5.86 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Semi-Literate programming for Racket
## Installation
```
% raco pkg install semilit
```
## Use
Simply use `semilit` before the language specification on the `#lang` line,
and the whole file is read by the `semilit` reader. This reader ignores all
lines that don't begin with `>`, and drops the `>` before passing the lines
on to the underlying language.
```
#lang semilit racket
This is not part of the program
> (define x 1) ;; part of the program
```