-
Notifications
You must be signed in to change notification settings - Fork 15
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
Major refactoring and new API (among others for compat with Julia v0.5 and above) #24
Closed
Closed
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
c9e2077
added .gitignore
vonDonnerstein 29a91b7
cleaning README.md Ex3 now without warnings
vonDonnerstein ce2f0c7
cleaning Node.jl
vonDonnerstein 4b85549
all includes at one place
vonDonnerstein 965dd06
Avoiding clashes with ParseError in Base
vonDonnerstein 906e8a1
removed useless creator because its defined by default
vonDonnerstein 17f6505
decrease creator redundancy
vonDonnerstein 1bb9589
making show(grammar) more legible
vonDonnerstein 635628f
added documentation
vonDonnerstein 56d5ccd
removing methods that are always overwritten
vonDonnerstein fec2dff
further increasing legibility of grammar
vonDonnerstein 904f443
removing redundand creators
vonDonnerstein 5ceb495
removing redundant exports and imports
vonDonnerstein db32d27
fixing 904f443
vonDonnerstein fffd08f
uncached_parse => parse_newcachekey (because even uncached_parse woul…
vonDonnerstein 0b73b0d
extracting parsing functions from module file
vonDonnerstein 815fed6
removing unused helper fcn
vonDonnerstein 04fc079
updating show() for some rules
vonDonnerstein 9e97458
replacing string_matches with one-liner
vonDonnerstein 1a0ce67
documentation fix
vonDonnerstein 4bbaae9
only symbols for direct use by the regular user should be exported
vonDonnerstein 30c191d
shuffling lines where they logically belong
vonDonnerstein 3fd6145
fixing 9e97458
vonDonnerstein 236b098
updating tests
vonDonnerstein 56da3c9
shuffling lines to the correct positions
vonDonnerstein f06ec83
Inner Constructors => Outer Constructors (actions are created by dire…
vonDonnerstein a375dd5
extracting show() rules to end of file
vonDonnerstein 380bd8f
trimming show() rules
vonDonnerstein fc9d5bc
bringing all Base conflicting names to one place
vonDonnerstein ae0b451
building rule constructors by meta-code (less verbose)
vonDonnerstein 45f297b
added fcn call wrappers for consistency
vonDonnerstein 1c5f4e2
fixed regex matching
vonDonnerstein efbba95
updated and-rule io
vonDonnerstein e19c657
starting work on a new grammar framework
vonDonnerstein fc10859
increased legibility in newgrammar, suppressing terminals and ignorin…
vonDonnerstein dd7e564
OR-rule added to newgrammar
vonDonnerstein 9446e9d
added TERM-rule to newgrammar
vonDonnerstein 7e6d4d4
quantifiers added to newgrammar
vonDonnerstein 2cfae2a
cleaner structure allows for actions on quantifiers
vonDonnerstein fa21e7c
added REGEX-rule to newgrammar
vonDonnerstein bb9b270
updated show fcns
vonDonnerstein d0f9791
the newgrammar framework is now almost done. still need gg_string
vonDonnerstein e522fc5
the grammar is self-replicating now. World domination soon to come...
vonDonnerstein 1e0d0f6
added comparisons and corrected differences between grammargrammar an…
vonDonnerstein fb71b42
cleanup
vonDonnerstein bde0fde
updated license file and travis
vonDonnerstein 348fd23
updated readme (written by hand not sphinx)
vonDonnerstein 94123e0
added standardrules and related functions
vonDonnerstein 0b0907d
minor fixes and renamings
vonDonnerstein ff22b3b
added more standardactions
vonDonnerstein 41094a8
updated examples
vonDonnerstein b1fd128
removed test for old API and inserted end-to-end-test for new API
vonDonnerstein d9f2aae
minor fixes in readme
vonDonnerstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Code Coverage | ||
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.*.html | ||
*.jl.mem | ||
amber.png | ||
emerald.png | ||
glass.png | ||
ruby.png | ||
snow.png | ||
updown.png | ||
gcov.css | ||
index-sort-f.html | ||
index-sort-l.html | ||
index.html | ||
lcov.info | ||
test/coverage_run.out | ||
|
||
# VIM | ||
*.swo | ||
*.swp | ||
|
||
# ctags | ||
tags | ||
|
||
# Git | ||
*.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
language: cpp | ||
compiler: | ||
- clang | ||
language: julia | ||
os: | ||
- linux | ||
- osx | ||
git: | ||
depth: 3 | ||
julia: | ||
- release | ||
- nightly | ||
matrix: | ||
allow_failures: | ||
- julia: nightly | ||
notifications: | ||
email: false | ||
env: | ||
matrix: | ||
- JULIAVERSION="juliareleases" | ||
- JULIAVERSION="julianightlies" | ||
before_install: | ||
- sudo add-apt-repository ppa:staticfloat/julia-deps -y | ||
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y | ||
- sudo apt-get update -qq -y | ||
- sudo apt-get install libpcre3-dev julia -y | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
script: | ||
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("PEGParser")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This doesn't seem to match the new examples, which have rule => ...
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.
Sorry for the late reply -- no need to put my name on the library since it looks like it's taking a different direction. Instead, if you like, you can just put based on PEGParser.