Repository navigation
Add Java and Kotlin syntax highlighting - #232
Conversation
Benchmark ResultsComparison of Open to see the benchmark results
Generated by phpbench against commit 9c4dee8 |
brendt
left a comment
There was a problem hiding this comment.
Can you add pattern tests please? Look at any other language pattern to see how they work.
|
Added Verified locally before pushing: |
ab05be4 to
0422a25
Compare
|
Rebased onto current Verified locally after the rebase: |
0422a25 to
9c4dee8
Compare
|
🫡 yessir! |
Summary
javafor Java andkotlin/kt/ktsfor Kotlinsrc/Languages/CLike/(the same files as in the C/C++ PR, so this PR also stands alone)This is a clean resubmission of the closed #224, based directly on
main: no core changes and no visual test harness.Verification
vendor/bin/php-cs-fixer fix --allow-risky=yes— no remaining changesvendor/bin/phpstan analyse src tests— no errorsvendor/bin/phpunit— 889 tests, 1,162 assertionsvendor/bin/phpbench run tests/Bench/HighlighterBench.php --variant='^(java|kotlin)$' --report=aggregate— Java 230.69 μs, Kotlin 211.01 μsScreenshots
Java
Kotlin