Add encapsulation, sum types, type constraints and all the required machinery. Also -> threading macro #64
@@ -191,8 +191,7 @@ forms, and what remains."
|
||||
;; is the fmt-c directive for the `.' operator (see sex-fmt-c).
|
||||
(('dot-access . rest) (cons '%. (map walk-expr rest)))
|
||||
;; `%->' is the C arrow. Nothing writes it: it is what a member
|
||||
;; path lowers to where the thing it reads from is a pointer, the
|
||||
;; name `->' itself being the threading macro
|
||||
;; path lowers to where the thing it reads from is a pointer
|
||||
(('%-> . rest) (cons '%-> (map walk-expr rest)))
|
||||
|
|
||||
(('var . _) (walk-var form))
|
||||
;; An expression has no room for a statement, so a comment in a
|
||||
|
||||
Reference in New Issue
Block a user
Why C writer would know anything about what you do with the sex standard library? I suppose that mention should be rather deleted.
Well... Because it's a name clash with very well known and widely used bit of C syntax. So one might want to know why it's missing from Sex, while most of other semantics is accounted for.
However I don't have strong preference, might as well drop the comment.