Basic functionality

This commit is contained in:
E Dunbar 2025-04-18 15:35:24 -05:00
parent a0e03ddd73
commit 8cd6c4e65d
14 changed files with 9100 additions and 3 deletions

82
test/corpus/sequence.txt Normal file
View file

@ -0,0 +1,82 @@
==========
expression
==========
(test this)
---
(source_file
(expression
(symbol) (symbol)))
====
list
====
[me list]
[]
---
(source_file
(list
(symbol) (symbol))
(list))
=====
tuple
=====
#(first second)
#()
---
(source_file
(tuple
(symbol) (symbol))
(tuple))
===
set
===
#{look me}
#{}
---
(source_file
(set
(symbol) (symbol))
(set))
==========
dictionary
==========
{key value}
{}
---
(source_file
(dictionary
(symbol) (symbol))
(dictionary))
===================
function definition
===================
(defn my-fn []
(print "abcd"))
---
(source_file
(expression
(symbol) (symbol) (list)
(expression
(symbol) (string))))