Highlights.jl icon indicating copy to clipboard operation
Highlights.jl copied to clipboard

Lexer checklist

Open MichaelHatherly opened this issue 8 years ago • 4 comments

A list of lexers for different languages/filetypes that would be useful to have. For the most part this list should be based on what other source code highlighters (Pygments, Rouge, etc.) have implemented.

  • [x] Julia.
  • [x] Julia Console, i.e. jlcon.
  • [ ] Python.
  • [ ] C and C++.
  • [ ] Scheme, Common Lisp, Clojure, etc.
  • [x] MATLAB.
  • [x] Fortran.
  • [x] R.
  • [x] TOML.
  • [ ] Bash, Shell scripts, etc.
  • [ ] LLVM IR
  • [ ] ASM
  • [ ] hundreds of others...

MichaelHatherly avatar Oct 19 '16 22:10 MichaelHatherly

It would be nice to add LLVM IR and ASM here. See https://github.com/JuliaDebug/Cthulhu.jl/pull/44

tkf avatar Aug 01 '19 00:08 tkf

I'm adding a bump for tkf's request here and an additional petition for ptx, of which there is already a Pygments port in GPUCompiler.

If someone is willing to handhold me with a ptx PR I'll get around to it.

miguelraz avatar Feb 03 '22 18:02 miguelraz

If someone is willing to handhold me with a ptx PR I'll get around to it.

Just ping me when you have any questions. I've not looked at the codebase in a while, but shouldn't be too hard to get reacquainted with it.

MichaelHatherly avatar Feb 03 '22 18:02 MichaelHatherly

I was doing the PR on PTX highlighting for GPUCompiler but I suppose this is the natural place to implement first. I will file a PR shortly. The pygments source for highlighting ptx isn't great imo and a specific highlighter should do a better job. I'll file a PR shortly.

Ellipse0934 avatar Feb 08 '22 09:02 Ellipse0934