diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-24 20:20:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-24 20:20:27 -0700 |
| commit | af3274ca9237a08093009e87955e30ab5f473f12 (patch) | |
| tree | 46c249d6b42ac51111c7e198a10b8dad09b17923 /lib/operators.nom | |
| parent | e4660b169c14d24c3ec373b197e8b9469d200d50 (diff) | |
massive overhaul, compiler kinda works.
Diffstat (limited to 'lib/operators.nom')
| -rw-r--r-- | lib/operators.nom | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/operators.nom b/lib/operators.nom index 6dadaf3..f2bb7c2 100644 --- a/lib/operators.nom +++ b/lib/operators.nom @@ -4,6 +4,8 @@ require "lib/metaprogramming.nom" macro [true, yes] =: "true" macro [false, no] =: "false" macro [nil, null] =: "nil" +macro [inf, infinity] =: "math.huge" +macro [nan, NaN, not a number] =: "(0/0)" macro statement [nop, pass] =: "" # Ternary operator |
