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

Tools support #85

Merged
merged 23 commits into from
Jun 1, 2019
Merged

Tools support #85

merged 23 commits into from
Jun 1, 2019

Conversation

lucteo
Copy link
Contributor

@lucteo lucteo commented Jun 1, 2019

No description provided.

lucteo added 23 commits April 27, 2019 18:24
Make sure the parserIf.ll file is copied into the source dir for commit
Update parserIf.ll
Fix error in scanner.spr
parserIf.ll needs to be generated with LLVM 6 (not 7) to be compatible with older versions of LLVM.

Copying the parserIf.ll to source dir doesn't work well.
Writing null pointers does not yield the same results on Linux/MacOS
formatTool is able to read a source file and get its tokens and AST and
contain all the lexical & syntactical information of the input file. The
tokens also contain the whitespace and comments.

Reformat the Sparrow parsing code to be more reusable.

Add examples of how to implement interfaces by hand.
Pass '-i' flag to the formatTool executable.
Also add formatTool as an explicit check on Travis
Formatting transformations:
- remove end-of-line semicolons
- remove unneeded curly braces
Small refactoring in os.spr
We were not holding the string that was used to store the string content
for most of the StringRef object we used for tokens.
Removed the old-style use of {}, ';'
@lucteo lucteo merged commit cb8b6e3 into master Jun 1, 2019
@lucteo lucteo deleted the tools_support branch June 1, 2019 12:51
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.

1 participant