Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
munificent
on Sept 14, 2017
|
parent
|
context
|
favorite
| on:
Java Reflection, 1000x Faster
Or, heck, just hack together a little script to generate the code and hook it into your build system. You don't need anything as fancy as an annotation processor. A handful of Python code could accomplish just as well.
fn1
on Sept 14, 2017
[–]
But how do you access the original AST in your python?
munificent
on Sept 15, 2017
|
parent
[–]
There is no original AST. The Python outputs the AST classes, so it is the source of truth.
fn1
on Sept 19, 2017
|
root
|
parent
[–]
I'm reading Annotations on Java-Code and generating classes from them, so I need to parse Java first.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: