Saturday, December 1, 2012

Photorg

I'm finally working on the special-use characteristics of my language. I've gotten enough generic functions to work that I can now implement them the way I want. One thing I'm definitely proud of so far is that my language can be run by reading in a file or by direct user input:

Photorg 1.0.0  Created by Michael duPont
Type "help" to view quick language guide or "quit" to exit

>>> for i in 11 by 2:for j in 3:i+j ; print Inner loop finished
0
1
2
Inner loop finished
2
3
4
Inner loop finished
4
5
6
Inner loop finished
6
7
8
Inner loop finished
8
9
10
Inner loop finished
10
11
12
Inner loop finished
>>>

No comments:

Post a Comment