-
Notifications
You must be signed in to change notification settings - Fork 170
Initial implementation of lpython builtin module #130
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call it lpython_builtin.py
.
Now we need to import this automatically when |
That looks good. The tests fail, so that needs to be fixed. |
The
Let's open up a new issue for this. |
It imports the builtin module and puts the "ord" as an external symbol and calls it. But currently it fails verify. To test: lpython --show-asr integration_tests/test_builtin.py
It should work now. The strings in |
I implemented |
I think this should be ready to go in -- we can complete the remaining tasks in upcoming PRs. Thanks for working on it with me |
This approach now needs to be refactored like in LFortran. |
Originally taken from #1 (comment)