move to typed structure

on the way to removing the language, the at needs to be replaced with a
typed structure.
This commit is contained in:
Torsten Ruger
2016-03-06 09:40:41 +02:00
parent 9ca03ef115
commit 4a9b492dd9
20 changed files with 223 additions and 43 deletions

View File

@ -1,5 +0,0 @@
[42, foo]
-- -- --
s(:array,
s(:int, 42),
s(:name, :foo))

View File

@ -1,10 +0,0 @@
[ 3 + 4 , foo(22) ]
-- -- --
s(:array,
s(:operator_value, :+,
s(:int, 3),
s(:int, 4)),
s(:call,
s(:name, :foo),
s(:arguments,
s(:int, 22))))

View File

@ -1,4 +0,0 @@
[42]
-- -- --
s(:array,
s(:int, 42))

View File

@ -1,6 +0,0 @@
{ foo => 33 }
-- -- --
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33)))

View File

@ -1,6 +0,0 @@
{ foo => true }
-- -- --
s(:hash,
s(:assoc,
s(:name, :foo),
s(:true)))

View File

@ -1,9 +0,0 @@
{foo => 33 , bar => 42}
-- -- --
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33)),
s(:assoc,
s(:name, :bar),
s(:int, 42)))