irken-compiler icon indicating copy to clipboard operation
irken-compiler copied to clipboard

add support for (sexp:record) and (sexp_attr) in defmacro output patterns

Open jeske opened this issue 8 years ago • 0 comments

This allows macros of the following forms:

(defmacro access_field
  (access_field a) -> a.field)

;; test record creation in macros
(defmacro create_record
  (create_record a) -> {field=a})

jeske avatar May 22 '17 18:05 jeske