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

Adding an Echo function #10

Merged
merged 1 commit into from
Apr 21, 2013
Merged

Adding an Echo function #10

merged 1 commit into from
Apr 21, 2013

Conversation

SamuelDeal
Copy link

It was a pity not to see what was executed.

So I added an echo function to display int values

File changes:

  • corefn.cpp : Added, implementation of the echo function
  • Makefile: Modified, corefn.cpp added to compilation process
  • main.cpp: Modified, just adding createCoreFunctions function call
  • example.txt: Modified, adding an echo for test

ToDo: If you like this push, perhaps llvm tutorial should be updated (not in this repo, so I can't do it, but I'll be glad to do it)

PS: thanks for the doc and source code, great starting point to write my own language

@lsegal
Copy link
Owner

lsegal commented Apr 21, 2013

This is really cool! I don't have time to test this, but I'd be happy to merge it so others can see and play with it. Regarding the guide-- if you provide the extra sections (and/or changes) here or via email I can amend the article to talk about this part. Or you can add a README to this project with more info. The latter might be a lot easier.

lsegal added a commit that referenced this pull request Apr 21, 2013
@lsegal lsegal merged commit 0e105ea into lsegal:master Apr 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants