naggum icon indicating copy to clipboard operation
naggum copied to clipboard

Initial macro approach

Open ForNeVeR opened this issue 6 years ago • 0 comments

We need a simple macro evaluation engine.

E.g. having a program like

(defmacro defmain (body)
  (list .method "Main" int (list)
    body)
)
(.assembly "dfdf"
  (defmain (.call Console.WriteLine "ozozoz"))
)

Naggum should be able to construct the assembly with a main method calling Console.WriteLine.

(The syntax is still preliminal.)

ForNeVeR avatar Feb 28 '19 05:02 ForNeVeR