Edoardo Luppi

Results 462 comments of Edoardo Luppi
trafficstars

This repo would need the same infra from the ANTLR repo, so I'd need to come up with a different way to do the same, or the ANTLR team need...

My point for preferring Editorconfig over tools like KTLint (and Detekt) is simplicity, both for the IDE and for build scripts. With Detekt we're adding layers of additional complexities for...

The `KotlinTarget` escape sequences should be: ```kotlin val map = HashMap(defaultCharValueEscape) addEscapedChar(map, '$') map[11.toChar()] = "\\u000b" // Vertical tab map[12.toChar()] = "\\u000c" // Form feed map[14.toChar()] = "\\u000e" // Shift...

I did a complete overhaul of the project. - Migrated to Kotlin 1.9.21 - Translated all Java files to Kotlin - Modernized the build scripts (e.g., version catalog, task caching,...

@MartinHaeusler I have immediate need of JVM and JS support, so I didn't lose time on native. Also, I need to polish caching (@ftomassetti question, why does `KotlinTarget` cache templates...

Root cause was `mapNotNull` creating an `ArrayList` under the hood to hold elements. The `ArrayList` (obviously) keeps resizing, especially with big input strings. So we had multiple primitive int array...

As an idea, we could swap it with a proper bit set.

@piacenti do you think this is still valid?

Last version contains another small performance boost.

@KvanTTT fancy porting some useful grammars/runtime tests on this repo now that it's been upgraded? Would be cool 🔝