diff options
author | Eduardo Julian | 2015-05-03 08:54:50 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-03 08:54:50 -0400 |
commit | 6d803df4bdb4a68bba80cbbc4eeed02170813e96 (patch) | |
tree | ae9571ee2bea8774b3219e52782d4a59d1485fce /src/lux/host.clj | |
parent | 1c0ddbcf3833ff28aa2f71bc1da74c466a23281c (diff) |
- The type syntax is finally complete ^_^
- Finally, the "case" macro has been implemented ^_^
- The macro-expand function is also alive!
- Corrected the field-access special forms so they take their field as a symbol instead of text.
- Macros are no longer stored inside the CompilerState as (Maybe Macro), but as Macro.
- Void is implemented as
- Fixed an error when parsing escaped characters in text.
- Fixed an error in the reader in which parsing regex2 gave back a 2-vector instead of a 2-tuple.
Diffstat (limited to 'src/lux/host.clj')
-rw-r--r-- | src/lux/host.clj | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lux/host.clj b/src/lux/host.clj index 26a270199..9d6f72fab 100644 --- a/src/lux/host.clj +++ b/src/lux/host.clj @@ -79,7 +79,13 @@ (->type-signature ?name) [["lux;LambdaT" [_ _]]] - (->type-signature function-class))) + (->type-signature function-class) + + [["lux;VariantT" ["lux;Nil" _]]] + "V" + + [_] + (assert false (prn-str '->java-sig (aget type 0))))) (defn extract-jvm-param [token] (matchv ::M/objects [token] |