fa23a4c125
The `Parameter` kind in `UntypedKind` was only used for identifiers that were being declared or referenced. This commit renames it to `Identifier` and updates all the necessary code to reflect this change. This simplifies the AST and makes it more consistent. Additionally, a new macro `repeat` has been added to `src/ast/system.myc`.
5 lines
79 B
Plaintext
5 lines
79 B
Plaintext
;; Output: 42
|
|
(do
|
|
(macro t [x] `(fn [~x] ~x))
|
|
(def id (t a))
|
|
(id 42)) |