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
Jordan Orelli
d135ad30c5
aye
10 years ago
Jordan Orelli
4e9169dda0
let's just get rid of equals signs entirely
10 years ago
Jordan Orelli
876794d694
verify parse trees pl0x
10 years ago
Jordan Orelli
636a30b963
lexing numbers
10 years ago
Jordan Orelli
3c6fd7910c
clean up, clean up
...
everybody, everywhere
10 years ago
Jordan Orelli
04d982c3d9
parse an object
10 years ago