Community
Chat Logs
Tuesday, April 7, 2026
- * metalmaniac joined #java
- * Perflosopher0387 joined #java
- * Perflosopher0387 joined #java
- * kathadris joined #java
- * kathadris joined #java
- * kathadris joined #java
- * kathadris joined #java
- * Aedil joined #java
- * Aedil joined #java
- * B_fd joined #java
- * sponkz joined #java
- * stfstfm joined #java
- * Gaz7051122720067 joined #java
- * mixfix41 joined #java
- * rvalue joined #java
- * jbosmans joined #java
- * B_fd joined #java
- * Gaz7051122720067 joined #java
- * Gaz7051122720067 joined #java
- * Ragnor joined #java
- * domicron joined #java
- * domicron joined #java
- * domicron joined #java
- * Square2 joined #java
- * stewi joined #java
- * B_fd joined #java
- * agnivn joined #java
- * Gaz7051122720067 joined #java
- * Gaz7051122720067 joined #java
- * Afroboy joined #java
- * MikeBux joined #java
- * kcomhnall joined #java
- * kcomhnal1 joined #java
- * kcomhnal1 joined #java
- * Gaz7051122720067 joined #java
- * mwnaylor joined #java
- * deavmi joined #java
- * deavmi joined #java
- * Nnavd joined #java
- * ptomli joined #java
- * Afroboy joined #java
- * polarian joined #java
- * Betal joined #java
- * GreenResponse joined #java
- * mixfix41 joined #java
- dreamrealtornadovm hit 4.0.0
- dreamrealany tornado users?
- * metalmaniac joined #java
- * odinsbane joined #java
- * stfstfm_ joined #java
- * troydm joined #java
- * tonitch joined #java
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * agnivn joined #java
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * agnivn joined #java
- * meyou joined #java
- * B_fd joined #java
- Chronoscheeser: He writes interesting blog articles
- ChronosI don't always agree with him, but they're almost always interesting
- cheeseryeah
- * digicyc joined #java
- * hwpplayer1 joined #java
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * stfstfm joined #java
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * raj joined #java
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * Afterglow joined #java
- BombeHmm, there doesn’t seem to be a maintained syntax highlighting library for Java. That makes me sad.
- BombeNot sure I understand. I have a String, I want some representation that allows e.g. colouring. Could be an AST, could be Markdown, could be HTML.
- BombeThat would be an acceptable outcome, yes.
- BombeMaybe my search engine skills have turned to shit, but the only thing I can find is commonmark, which doesn’t do syntax highlighting, and blogposts that list a number of syntax highlighting projects which support ~5 languagues and are unmaintained.
- BombeThe fuck, do I have to explain the difference between Java and JavaScript to you? :D
- BombeString -> (something)? -> HTML is pretty much exactly what I want to do.
- BombeClient-side is no good, though, I need it in Java.
- BombeWell, on the JVM, to be more precise, don’t care what it’s in exactly, unless it requires gigantic runtimes or is Scala. :)
- BombeI’m getting a String, I want to apply syntax highlighting, and I want to store the resulting HTML.
- ernimrilBombe, so what parts do you want help with? The tokenizer? the parser? the highlighter? the output handling?
- ernimrilBombe, depending on what you want, this can maybe be useful for a few of the above: https://github.com/bobbylight/RSyntaxTextArea
- nevetGitHub - bobbylight/RSyntaxTextArea: A syntax highlighting, code folding text editor for Java Swing applications.
- javaboternimril's title: "GitHub - bobbylight/RSyntaxTextArea: A syntax highlighting, code folding text editor for Java Swing applications. · GitHub"
- * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
- * nevet joined #java
- * sa02irc joined #java
- * B_fd joined #java
- cheeserhttps://github.com/codelibs/jhighlight ? updated last week.
- nevetGitHub - codelibs/jhighlight: JHighlight is an embeddable pure Java syntax highlighting library.
- javabotcheeser's title: "GitHub - codelibs/jhighlight: JHighlight is an embeddable pure Java syntax highlighting library. · GitHub"
- * kathadris joined #java
- * polarian joined #java
- * m joined #java
- * kcomhnall joined #java
- * kcomhnal1 joined #java
- Bombeernimri, what I would love is a library to take care of all of that for me. :D
- dreamrealconsidering the specificity of the requirement, that'd be a high expectation :D
- * sponkz joined #java
- BombeI’m not sure what is so incredibly hard to understand: I have a String, and I want a String.
- BombeThe final result will be stored; at some point in the future it will be sanitized and displayed in a browser, but that’s completely irrelevant because out of scope.
- dreamrealso you want a string, that presumably represents valid java source, to be highlighted in... html using... styles? no css?
- dreamrealno, like, external css
- dreamrealwhy not, in that case, start with a keyword search/replace: s/package/<span style="color:red">package</span>/
- dreamrealotherwise you're looking at generating an AST and using that to spit out bits based on token purpose
- dreamrealwhich is not particularly complicated, I suppose
- BombeYes, I know how (in theory) to do that manually, and if everything else is shit, I will probably do that.
- BombeStill, I would love to not do that myself. :)
- * bionade24 joined #java
- * acidsys joined #java
- * kcomhnall joined #java
- * kcomhnal1 joined #java
- * kcomhnal2 joined #java
- * johnjay joined #java
- * stfstfm_ joined #java
- * mindCrime joined #java
- * agnivn joined #java
- * Skynx joined #java
- * B_fd joined #java
- * kcomhnal2 left #java
- * kcomhnal1 left #java
- * kcomhnal1 joined #java
- * kcomhnal1 left #java
- * kcomhnall joined #java
- * kathadris joined #java