Jordan Orelli
662a746311
more readme info
10 years ago
Jordan Orelli
6bab2e2b4b
add some readme info
10 years ago
Jordan Orelli
660aee96f9
ok ok ok, variables work properly again
10 years ago
Jordan Orelli
f341593477
define a context type
10 years ago
Jordan Orelli
d4cc9761bd
adding some eval tests
10 years ago
Jordan Orelli
0cad3a6253
let's not number the test files in octal pl0x
10 years ago
Jordan Orelli
bbc5e45d13
lex variables
...
variables are done with a sigil now. I picked the @ symbol because I
can find it on the keyboard without looking. The $ is a little too far
away. Also php is terrible.
10 years ago
Jordan Orelli
9591212531
supper bare strings, break variables
...
this is a HUGE change to the syntax, but I'm really excited about it!
It was @avleen that convinced me this was worth looking into.
10 years ago
Jordan Orelli
bdf11713ea
remove type lexing, which wasn't a thing
...
I had this idea that there would be an optional type system but
@cardamaro talked me out of it. There's an off chance that something
like it will come back, but I wouldn't count on it. It doesn't seem
that pressing right now.
10 years ago
Jordan Orelli
c29ff7de6a
lexStringLiteral -> lexQuotedString
10 years ago
Jordan Orelli
35b16e6e4f
fixing tests
10 years ago
Jordan Orelli
5fa482c1d0
readfile
10 years ago
Jordan Orelli
82ecd83bee
adding some godoc documentation
10 years ago
Jordan Orelli
267fb71d9b
ah, DS_Store
10 years ago
Jordan Orelli
ab82083be8
ugh
10 years ago
Jordan Orelli
d470fe9bd5
is this how this stupid shit works?
10 years ago
Jordan Orelli
310184be35
markdown is fucking terrible
10 years ago
Jordan Orelli
7794a4aaf4
I'm watching daredevil and it's bad.
10 years ago
Jordan Orelli
f63875b86a
wtf markdown
10 years ago
Jordan Orelli
5ef3aad074
adding some readme info
10 years ago
Jordan Orelli
9d1b2b2df5
new subcommand: eval
10 years ago
Jordan Orelli
e3bc0f82fa
moon get now emits in moon syntax
10 years ago
Jordan Orelli
1a88f25514
naive slice-encoding functionality
10 years ago
Jordan Orelli
fdc088b3bc
really bad struct encoding
10 years ago
Jordan Orelli
10cb56adf5
started writing an emitter
10 years ago
Jordan Orelli
44a9cb240d
added numeric indexing in get
10 years ago
Jordan Orelli
268bf0eea2
add doc.get and get subcommand
10 years ago
Jordan Orelli
bc33c4936e
s/Config/Doc
10 years ago
Jordan Orelli
4ef77d7b6c
separated importable package from executable
10 years ago
Jordan Orelli
486c8a8e1d
remove hidden items
10 years ago
Jordan Orelli
510d560552
lexing for hidden names
10 years ago
Jordan Orelli
16f02b80ef
variable node should be a struct
10 years ago
Jordan Orelli
239b63b3d6
hey look, variables
10 years ago
Jordan Orelli
89b5bbcb6f
assignment nodes eval their values
10 years ago
Jordan Orelli
5313fe431c
object nodes parse now
10 years ago
Jordan Orelli
2dc6b618f0
update parse format
10 years ago
Jordan Orelli
88c013b2bc
list nodes parse now
10 years ago
Jordan Orelli
7cd65a4025
numbers are back, yay
10 years ago
Jordan Orelli
9c317ec358
broke lists and objects, made strings nodes
...
fixing an old flaw in the design, namely that assignment nodes have
values that are just interface{} instead of actual parse nodes
10 years ago
Jordan Orelli
41cfb120dc
nodes can evaluate to a value, huh
10 years ago
Jordan Orelli
45f56933a7
let's try file-based tests here too
10 years ago
Jordan Orelli
734d72c9a8
adding some lex tests
10 years ago
Jordan Orelli
c43d431a97
new testing strat: file-based tests
10 years ago
Jordan Orelli
1f06100987
fix tests, add pre-commit hook
10 years ago
Jordan Orelli
b70f370dd1
adding docs
10 years ago
Jordan Orelli
6d7a4d869e
add an example
10 years ago
Jordan Orelli
64d05746e6
add json translator
10 years ago
Jordan Orelli
cbbeff9908
strip comments from the parse tree
...
I dunno if I'll like this decision in the long run, but we'll try it.
10 years ago
Jordan Orelli
db5ea6d634
be gone, commas
10 years ago
Jordan Orelli
0820a130e5
pretty print parse tree
10 years ago