Closed vinokurig closed 5 years ago
@vinokurig @tolusha Can we change the team on this issue to one of the existing one please.
Issues go stale after 180
days of inactivity. lifecycle/stale
issues rot after an additional 7
days of inactivity and eventually close.
Mark the issue as fresh with /remove-lifecycle stale
in a new comment.
If this issue is safe to close now please do so.
Moderators: Add lifecycle/frozen
label to avoid stale mode.
Current java debugger evaluator uses NTLR 3 parser based on Java 5 grammar. Need to implement evaluator based on Listener class generated by NTLR 4.
While parsing expression NTLR calls methods on Listener on each logical step. The main idea is to have a value storage that will be updated on listener. The result object has to be updated according to logical steps called in the listener using the value storage.
Listener initialization:
When listener invokes new variable initialization need to initialize it in the virtual machine:
Current parser location: https://github.com/eclipse/che-lib/tree/master/antlr-java5-grammar