You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone wanted to help/continue the work, it would be immensely valuable if you shared technical details of your plan on how to make this work, and current progress/known issues.
From what I can see, you have:
A program which can convert D source code to equivalent Java source
Converted D stdlib and Phobos to Java, so the same runtime functions are available on the JVM
Use D's own parser (converted to JVM) to be able to parse D source from JVM
The next step would be to produce Truffle AST nodes from the D AST nodes?
The text was updated successfully, but these errors were encountered:
Пн, 15 авг. 2022 г. в 21:56, Gavin Ray ***@***.***>:
Hello, I find this project very interesting
Hi, glad you find it interesting. For me it was an interesting challenge,
too bad it kinda stagnated because of it being a “one man show”.
If someone wanted to help/continue the work, it would be immensely
valuable if you shared technical details of your plan on how to make this
work, and current progress/known issues.
From what I can see, you have:
- A program which can convert D source code to equivalent Java source
- Converted D stdlib and Phobos to Java, so the same runtime functions
are available on the JVM
- Use D's own parser (converted to JVM) to be able to parse D source
from JVM
The next step would be to produce Truffle AST nodes from the D AST nodes?
So yes I got to the point where I’m having the same AST as dmd’s parser
would output.
The next steps are tricky - need to perform the same semantic analysis (so
more code to convert) and replace dmd’s AST interpreter with Truffle-based
interpreter. Thus we do not need backend really - just get the interpreter
going.
Further steps include allowing to import Java’s classes with the same
import statement.
The benefit is arguably quite interesting - we get Java superior GC, full
range of libraries including JDK.
Hello, I find this project very interesting
If someone wanted to help/continue the work, it would be immensely valuable if you shared technical details of your plan on how to make this work, and current progress/known issues.
From what I can see, you have:
The next step would be to produce Truffle AST nodes from the D AST nodes?
The text was updated successfully, but these errors were encountered: