Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial macro approach #82

Open
ForNeVeR opened this issue Feb 28, 2019 · 0 comments
Open

Initial macro approach #82

ForNeVeR opened this issue Feb 28, 2019 · 0 comments
Assignees

Comments

@ForNeVeR
Copy link
Member

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 ForNeVeR self-assigned this Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant