Chat Logs

  1. * metalmaniac joined #java
  2. * Perflosopher0387 joined #java
  3. * Perflosopher0387 joined #java
  4. * kathadris joined #java
  5. * kathadris joined #java
  6. * kathadris joined #java
  7. * kathadris joined #java
  8. * Aedil joined #java
  9. * Aedil joined #java
  10. * B_fd joined #java
  11. * sponkz joined #java
  12. * stfstfm joined #java
  13. * Gaz7051122720067 joined #java
  14. * mixfix41 joined #java
  15. * rvalue joined #java
  16. * jbosmans joined #java
  17. * B_fd joined #java
  18. * Gaz7051122720067 joined #java
  19. * Gaz7051122720067 joined #java
  20. * Ragnor joined #java
  21. * domicron joined #java
  22. * domicron joined #java
  23. * domicron joined #java
  24. * Square2 joined #java
  25. * stewi joined #java
  26. * B_fd joined #java
  27. * agnivn joined #java
  28. * Gaz7051122720067 joined #java
  29. * Gaz7051122720067 joined #java
  30. * Afroboy joined #java
  31. * MikeBux joined #java
  32. * kcomhnall joined #java
  33. * kcomhnal1 joined #java
  34. * kcomhnal1 joined #java
  35. * Gaz7051122720067 joined #java
  36. * mwnaylor joined #java
  37. * deavmi joined #java
  38. * deavmi joined #java
  39. * Nnavd joined #java
  40. * ptomli joined #java
  41. * Afroboy joined #java
  42. * polarian joined #java
  43. * Betal joined #java
  44. * GreenResponse joined #java
  45. * mixfix41 joined #java
  46. dreamrealtornadovm hit 4.0.0
  47. dreamrealany tornado users?
  48. * metalmaniac joined #java
  49. * odinsbane joined #java
  50. * stfstfm_ joined #java
  51. * troydm joined #java
  52. * tonitch joined #java
  53. * nevet joined #java
  54. * 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.
  55. * nevet joined #java
  56. * 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.
  57. * nevet joined #java
  58. * 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.
  59. * nevet joined #java
  60. * 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.
  61. * nevet joined #java
  62. * 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.
  63. * agnivn joined #java
  64. * nevet joined #java
  65. * 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.
  66. * nevet joined #java
  67. * 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.
  68. * agnivn joined #java
  69. * meyou joined #java
  70. * B_fd joined #java
  71. Chronoscheeser: He writes interesting blog articles
  72. ChronosI don't always agree with him, but they're almost always interesting
  73. cheeseryeah
  74. * digicyc joined #java
  75. * hwpplayer1 joined #java
  76. * nevet joined #java
  77. * 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.
  78. * stfstfm joined #java
  79. * nevet joined #java
  80. * 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.
  81. * nevet joined #java
  82. * 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.
  83. * raj joined #java
  84. * nevet joined #java
  85. * 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.
  86. * nevet joined #java
  87. * 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.
  88. * nevet joined #java
  89. * 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.
  90. * Afterglow joined #java
  91. BombeHmm, there doesn’t seem to be a maintained syntax highlighting library for Java. That makes me sad.
  92. 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.
  93. BombeThat would be an acceptable outcome, yes.
  94. 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.
  95. BombeThe fuck, do I have to explain the difference between Java and JavaScript to you? :D
  96. BombeString -> (something)? -> HTML is pretty much exactly what I want to do.
  97. BombeClient-side is no good, though, I need it in Java.
  98. BombeWell, on the JVM, to be more precise, don’t care what it’s in exactly, unless it requires gigantic runtimes or is Scala. :)
  99. BombeI’m getting a String, I want to apply syntax highlighting, and I want to store the resulting HTML.
  100. ernimrilBombe, so what parts do you want help with? The tokenizer? the parser? the highlighter? the output handling?
  101. ernimrilBombe, depending on what you want, this can maybe be useful for a few of the above: https://github.com/bobbylight/RSyntaxTextArea
  102. nevetGitHub - bobbylight/RSyntaxTextArea: A syntax highlighting, code folding text editor for Java Swing applications.
  103. javaboternimril's title: "GitHub - bobbylight/RSyntaxTextArea: A syntax highlighting, code folding text editor for Java Swing applications. · GitHub"
  104. * 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.
  105. * nevet joined #java
  106. * sa02irc joined #java
  107. * B_fd joined #java
  108. cheeserhttps://github.com/codelibs/jhighlight ? updated last week.
  109. nevetGitHub - codelibs/jhighlight: JHighlight is an embeddable pure Java syntax highlighting library.
  110. javabotcheeser's title: "GitHub - codelibs/jhighlight: JHighlight is an embeddable pure Java syntax highlighting library. · GitHub"
  111. * kathadris joined #java
  112. * polarian joined #java
  113. * m joined #java
  114. * kcomhnall joined #java
  115. * kcomhnal1 joined #java
  116. Bombeernimri, what I would love is a library to take care of all of that for me. :D
  117. dreamrealconsidering the specificity of the requirement, that'd be a high expectation :D
  118. * sponkz joined #java
  119. BombeI’m not sure what is so incredibly hard to understand: I have a String, and I want a String.
  120. 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.
  121. dreamrealso you want a string, that presumably represents valid java source, to be highlighted in... html using... styles? no css?
  122. dreamrealno, like, external css
  123. dreamrealwhy not, in that case, start with a keyword search/replace: s/package/<span style="color:red">package</span>/
  124. dreamrealotherwise you're looking at generating an AST and using that to spit out bits based on token purpose
  125. dreamrealwhich is not particularly complicated, I suppose
  126. BombeYes, I know how (in theory) to do that manually, and if everything else is shit, I will probably do that.
  127. BombeStill, I would love to not do that myself. :)
  128. * bionade24 joined #java
  129. * acidsys joined #java
  130. * kcomhnall joined #java
  131. * kcomhnal1 joined #java
  132. * kcomhnal2 joined #java
  133. * johnjay joined #java
  134. * stfstfm_ joined #java
  135. * mindCrime joined #java
  136. * agnivn joined #java
  137. * Skynx joined #java
  138. * B_fd joined #java
  139. * kcomhnal2 left #java
  140. * kcomhnal1 left #java
  141. * kcomhnal1 joined #java
  142. * kcomhnal1 left #java
  143. * kcomhnall joined #java
  144. * kathadris joined #java