-
Notifications
You must be signed in to change notification settings - Fork 602
Finish making ParseXS build an AST and fix some bugs #23883
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
Open
iabyn
wants to merge
57
commits into
blead
Choose a base branch
from
davem/xs_ast
base: blead
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
848c3b7
Bump ExtUtils::ParseXS to 3.61
iabyn c45207c
ParseXS: refactor: add stub top-level node
iabyn 38eb7ac
ParseXS: refactor: add Node::preamble
iabyn e05aac7
ParseXS: refactor: add Node::C_part
iabyn 1c98325
ParseXS: refactor: add Node::postamble
iabyn 201fc0c
ParseXS: refactor: add Node::global_cpp_line
iabyn 51357f9
ParseXS: refactor: simplify double-negative regex
iabyn c153926
ParseXS: refactor: add Node::BOOT
iabyn 30c7d5a
ParseXS: refactor: regularise BOOT processing
iabyn 863754e
ParseXS: refactor: add Node::FALLBACK
iabyn 8f8270f
ParseXS: refactor: add Node::REQUIRE
iabyn 583011c
ParseXS: refactor: store current pkg in Node::xsub
iabyn 3bb9e34
ParseXS: refactor: add Node::include etc
iabyn e65af0e
ParseXS: refactor: remove residual FOO_handler
iabyn 9724016
ParseXS: refactor: remove check_keyword() method
iabyn b449039
ParseXS: add Node::as_concise method
iabyn 552401e
ParseXS: refactor: add Node::cpp_scope
iabyn a78e434
ParseXS: refactor: use Node::cpp_scope for INCLUDE
iabyn 7add86a
ParseXS: refactor: rm push_parse_stack, PopFile
iabyn 9753f41
ParseXS: refactor: INCLUDE: save state locally
iabyn eb87763
ParseXS: refactor: global_cpp_line: parse CPP line
iabyn df8d3d7
ParseXS: fix #elif processing
iabyn 21967f3
ParseXS: add more #if/#endif tests
iabyn a085cc8
ParseXS: refactor: reimplement #if processing
iabyn 0881551
ParseXS: refactor: remove parser stack
iabyn 7164235
ParseXS: refactor: move main parsing into XS_file
iabyn 7436cf5
ParseXS: refactor: add Node::pre_boot
iabyn 4aa0301
ParseXS: refactor: add Node::boot_xsub
iabyn 6b82848
ParseXS: refactor: tidy Node::boot_xsub::parse()
iabyn 39cf145
ParseXS: refactor: move some code
iabyn be71c4d
ParseXS: emit package overload registrations later
iabyn bcc6c05
ParseXS: refactor: add as_boot_code() methods
iabyn ae7ba09
ParseXS: refactor: inline and rm standard_XS_defs
iabyn 7ab37e8
ParseXS: refactor: don't use $_ for C part of file
iabyn 3194b77
ParseXS: refactor: remove $ExtUtils::ParseXS::END
iabyn 88aa069
ParseXS: refactor: remove stray $_
iabyn 75ea6d6
ParseXS: spot MODULE line syntax errors
iabyn 7eb5946
ParseXS: refactor: add Node::MODULE
iabyn 4eb804f
ParseXS: spot TYPEMAP: line syntax errors
iabyn 85b283f
ParseXS: refactor: add Node::TYPEMAP
iabyn 970d027
ParseXS: refactor: inline _maybe_skip_pod()
iabyn 51348ed
ParseXS: refactor: move a chomp()
iabyn ce0f3aa
ParseXS: refactor: chomp TYPEMAP lines
iabyn 52e57a2
ParseXS: fix POD on last line
iabyn 35e3dda
ParseXS: refactor: fetch_para(): remove POD loop
iabyn 990b981
ParseXS: refactor: fetch_para(): invert if
iabyn b84438e
ParseXS: refactor: fetch_para(): reindent
iabyn 40f3830
ParseXS: process line continuations after POD
iabyn cb2593c
ParseXS: process line continuations after TYPEMAP
iabyn 9d970e5
ParseXS: refactor: fetch_para(): add more comments
iabyn db33547
ParseXS: refactor: fetch_para(): simplify logic
iabyn 7d4b810
ParseXS: refactor: fetch_para: update description
iabyn 20d2937
ParseXS: refactor: fix comments re die if indented
iabyn 64d7e86
ParseXS: refactor: simplify main loop
iabyn e93d277
ParseXS: refactor: rationalise parse-fail action
iabyn 1324bc4
ParseXS: refactor: update POD and comments
iabyn d88ca93
ParseXS: refactor: add Node::Q method
iabyn 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 hidden or 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 hidden or 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
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.
"ParseXS: refactor: add Node::pre_boot " commit message typo "and any user XSUBs
emiited"