Skip to content

Commit 1dee0b2

Browse files
committed
Merge branch 'master' of https://github.com/Zeda/Parsnip
2 parents 7f6d311 + fec1d0e commit 1dee0b2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Readme.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
This is a proof-of-concept. I basically gutted Grammer 2 and wrote a new parser.
2-
I did not bother to change most files.
1+
Parsnip is a parser for the TI-83+/84+. It is a work-in-progress, and there are features that are going to be changed
2+
frequently. You are welcome to try this out, but your code might not work in a future version. For example, the
3+
`Sprite()` command currently takes a `raw` type as its sprite. In the future, sprites will be their own type.
4+
5+
I basically took [Grammer 2](https://github.com/Zeda/Grammer2) and kept most of the the main menu code and some of the
6+
other code, but totally rewrote the parser. It supports a variety of types, including 8-ish numeric types at the moment,
7+
strings, and lists (not yet arrays). Speed-wise, it is on par with TI-BASIC, about 20% to 30% faster depending on what
8+
you are doing.
9+
10+
Concepts are loosely inspired by my experience with other languages, especially C, Python, and TI-BASIC for the 68k
11+
calcs like the TI-92/89/Voyager.
312

413
![*Example with mixing types and variable storage*](https://i.imgur.com/2Nxgt7U.gif)
514
![*Example with user input and sprites*](https://i.imgur.com/G35t78t.gif)

0 commit comments

Comments
 (0)