在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Strumenta/antlr-kotlin开源软件地址(OpenSource Url):https://github.com/Strumenta/antlr-kotlin开源编程语言(OpenSource Language):Kotlin 47.2%开源软件介绍(OpenSource Introduction):ANTLR KotlinThis project contains everything is needed to support Kotlin as a target for ANTLR. It means:
Because we produce multi-platform code and a multi-platform runtime, the code written using the Kotlin target for ANTLR can run on the JVM (including Android), in the browser, and natively on Mac, Windows, Linux, and iOS. StatusThe project should be considered experimental. Several parsers have been implemented and work so far using this target but not all the features are complete and well tested. Using ANTLR-Kotlin with GradleANTLR-Kotlin is accessible on Maven & Gradle through Jitpack. In jitpack basically you can use every commit or tag as a version number. You can find recent versions on the Jitpack page for ANTLR-Kotlin. In older versions of this Plugin (antlr-kotlin-plugin <0.0.5), the configuration was applied by the plugin. Starting from version 0.0.5, you have to apply the configuration manually: For an example how to use ANTLR-Kotlin see the JVM Example Project. There is also an Kotlin Multiplatform Project Example. The Kotlin targetThe Kotlin target is a plugin for the ANTLR generator. It should be added to the classpath used to run the ANTLR Tool.
You will simply need to specify the language to be The Kotlin runtime libraryThis project contains the runtime for the Kotlin target of ANTLR. This runtime is built as a multi-platform project running on the JVM, JS, and Kotlin/Native platforms. You will need to use ANTLR 4 and the Kotlin target to generate ANTLR Lexers and Parsers in Kotlin. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论