2016-11-23 07:50:48 +00:00
|
|
|
|
|
|
|
-- ast factory
|
|
|
|
|
|
|
|
ref = (name="val") ->
|
|
|
|
{"ref", name}
|
|
|
|
|
2016-11-23 08:04:31 +00:00
|
|
|
str = (contents="dogzone", delim='"') ->
|
|
|
|
{"string", delim, contents}
|
|
|
|
|
2016-11-23 07:50:48 +00:00
|
|
|
{
|
2016-11-23 08:04:31 +00:00
|
|
|
:ref
|
|
|
|
:str
|
2016-11-23 07:50:48 +00:00
|
|
|
}
|