Strumenta / antlr-kotlin

Support for Kotlin as a target for ANTLR 4
Apache License 2.0
221 stars 47 forks source link

Allow parsing .interp content #163

Closed lppedd closed 6 months ago

lppedd commented 7 months ago

There is a slight difference in the InterpreterDataReader parsing function.

Java:

InterpreterDataReader.parseFile(String)

Kotlin:

InterpreterDataReader.parse(LineReader)

This allows all supported platforms to supply platform-specific LineReader implementations.
By default we only provide a simple StringLineReader.