Skip to content

Commit 442cc62

Browse files
committed
Add readme
1 parent cec9cf0 commit 442cc62

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Rabble
2+
3+
An implementation of a Forth-like language in Perl 6.
4+
5+
## Usage
6+
7+
```
8+
rabble [--debug|-d] <file>
9+
rabble [--expression|-e] [--debug|-d] <expr>
10+
```
11+
12+
### Examples
13+
```Forth
14+
5 2 * . \\= 10
15+
```
16+
```Forth
17+
5 10 2 [ * ] dip .S \\= [50 2]>
18+
```
19+
```Forth
20+
7 6 [2 3 + + +] apply . \\= 18
21+
```
22+
23+
## Plan
24+
25+
To build a decently well-featured Forth in Perl 6, learn more about Perl 6 and Forth in the process, and explore ideas in all aspects.
26+
27+
### Status
28+
29+
Supports some basic words, anonymous blocks, and named functions.
30+
31+
### Upcoming
32+
33+
* Add more words
34+
* Implement a return stack
35+
* Tests
36+
* Debugger
37+
* REPL
38+
* Documentation

0 commit comments

Comments
 (0)