diff options
author | Eduardo Julian | 2017-06-30 18:43:07 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-06-30 18:43:07 -0400 |
commit | a79927892174c3564c83a0e741e5cc0aaaeeb37c (patch) | |
tree | 780936163414dd6105cf00bb5debb8ee9a7a518a /new-luxc/source/luxc/generator/expr.jvm.lux | |
parent | 36cf0c61991bda395e224fa2d435fa6b6f5090e5 (diff) |
- WIP: Added generation for common procedures.
Diffstat (limited to 'new-luxc/source/luxc/generator/expr.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/generator/expr.jvm.lux | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/new-luxc/source/luxc/generator/expr.jvm.lux b/new-luxc/source/luxc/generator/expr.jvm.lux index 7a99ecc18..32291317f 100644 --- a/new-luxc/source/luxc/generator/expr.jvm.lux +++ b/new-luxc/source/luxc/generator/expr.jvm.lux @@ -10,6 +10,7 @@ ["&;" primitive] ["&;" structure] ["&;" eval] + ["&;" procedure] (host ["$" jvm])))) (def: #export (generate synthesis) @@ -34,7 +35,10 @@ (#ls;Tuple members) (&structure;generate-tuple generate members) - + + (#ls;Procedure name args) + (&procedure;generate-procedure generate name args) + _ (macro;fail "Unrecognized synthesis."))) |