Skip to content

#1".." reader for more complicated java expressions, using javaparser#52

Closed
alanruttenberg wants to merge 3 commits into
armedbear:masterfrom
alanruttenberg:javaparserv
Closed

#1".." reader for more complicated java expressions, using javaparser#52
alanruttenberg wants to merge 3 commits into
armedbear:masterfrom
alanruttenberg:javaparserv

Conversation

@alanruttenberg

Copy link
Copy Markdown
Collaborator

This is the base class for using the java parser library. JSS will use this (in another commit) to enable writing more complicated java expressions using #1"..." e.g.

(#1"new ByteBuddy().subclass(Object.class,t)
.method(ElementMatchers.named("toString"))
.intercept(FixedValue.value("Hello World!"))
.make()
.load(getClass().getClassLoader())
.getLoaded()" )

@alanruttenberg alanruttenberg changed the title Javaparser, preliminary to hook in jss. #1".." reader for more complicated java expressions, using javaparser Jun 8, 2017
@easye

easye commented Jun 9, 2017

Copy link
Copy Markdown
Collaborator

I'll merge this work based on javaparser, but have doubts that this will work on Java 6 (but who knows).

If we have problems on non-Java 8, we will need to conditionalize its usage in JSS based on whether the javaparser jar can be loaded, as a lot of the other contribs depend on JSS.

easye pushed a commit that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <291289e>

Part of merge <#52>.
easye pushed a commit that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <987c18f>.

Part of merge <#52>.
easye pushed a commit that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <155db3e>.

Part of merge <#52>.
@easye

easye commented Jun 9, 2017

Copy link
Copy Markdown
Collaborator

I had to refactor the JAVAPARSER and JSS systems to rationalize load behavior 64203af, otherwise loading JSS was failing for me.

In addition, you are missing the declarations for REPLACE-ALL and TREE-REPLACE in the javaparser code, so it doesn't work for other users at the moment.

@easye easye closed this Jun 9, 2017
@alanruttenberg

alanruttenberg commented Jun 9, 2017 via email

Copy link
Copy Markdown
Collaborator Author

@alanruttenberg

alanruttenberg commented Jun 9, 2017 via email

Copy link
Copy Markdown
Collaborator Author

svn2github pushed a commit to svn2github/abcl that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <armedbear/abcl@291289e>

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn@15062 1c010e3e-69d0-11dd-93a8-456734b0d56f
svn2github pushed a commit to svn2github/abcl that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <armedbear/abcl@987c18f>.

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn@15063 1c010e3e-69d0-11dd-93a8-456734b0d56f
svn2github pushed a commit to svn2github/abcl that referenced this pull request Jun 9, 2017
(Alan Ruttenberg)

From <armedbear/abcl@155db3e>.

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn@15064 1c010e3e-69d0-11dd-93a8-456734b0d56f
@easye

easye commented Jun 9, 2017

Copy link
Copy Markdown
Collaborator

Further fixes, including "stacking" the JAVAPARSER READ-INVOKE definitions in 80f8222

slyrus pushed a commit to slyrus/abcl that referenced this pull request Nov 16, 2019
(Alan Ruttenberg)

From <armedbear/abcl@291289e>

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn/trunk/abcl@15062 1c010e3e-69d0-11dd-93a8-456734b0d56f
slyrus pushed a commit to slyrus/abcl that referenced this pull request Nov 16, 2019
(Alan Ruttenberg)

From <armedbear/abcl@987c18f>.

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn/trunk/abcl@15063 1c010e3e-69d0-11dd-93a8-456734b0d56f
slyrus pushed a commit to slyrus/abcl that referenced this pull request Nov 16, 2019
(Alan Ruttenberg)

From <armedbear/abcl@155db3e>.

Part of merge <armedbear/abcl#52>.

git-svn-id: http://abcl.org/svn/trunk/abcl@15064 1c010e3e-69d0-11dd-93a8-456734b0d56f
@alanruttenberg alanruttenberg deleted the javaparserv branch January 29, 2022 02:10
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