32a1f21463
This commit introduces the BNF for the Myc language, along with its core semantics, data types, and evaluation logic. It also details the macro system and provides an overview of the standard library. This document serves as a foundational context for LLMs to understand and generate Myc code.
14 lines
187 B
Plaintext
14 lines
187 B
Plaintext
;; Output: 20
|
|
(do
|
|
(def tst
|
|
(fn [length]
|
|
(do
|
|
(def history (series :float))
|
|
(fn [val]
|
|
(do
|
|
length
|
|
))
|
|
)))
|
|
|
|
((tst 20) 5)
|
|
) |