Benjamin-Dobell / IntelliJ-Luanalysis

Type-safe Lua IDE — IntelliJ IDEA plugin
Apache License 2.0
154 stars 21 forks source link

Fennel support? #101

Closed astrolemonade closed 3 years ago

astrolemonade commented 3 years ago

As @noncom pointed out in the original project.

How do you think, is it possible to add Fennel (https://fennel-lang.org/) support to EmmyLua?

Fennel is a small Clojure-inspired LISP dialect for Lua and it would be really awesome to have support for it on the IDEA platform, at least syntax highlighting, even without any advanced features. I think that EmmyLua would be a perfect way to work with both Lua and Fennel.

Benjamin-Dobell commented 3 years ago

Unfortunately, no.

It wouldn't just be a matter of implementing Fennel's syntax, it appears the semantics are quite different. In this regard it's not really any different than how Java and Kotlin both run in the JVM, but they each require their own tooling/IDEs.

EDIT: CoffeeScript (Fennel) and JavaScript (Lua) are perhaps a more apt comparison. As the former transpiles to latter, yet they're quite different languages. You get the idea!