Page 1 of 3
I will mention just created lexers in this topic
Posted: 26.02.2023 08:41
by main Alexey
Some days ago I made lexer Just.
Site:
https://github.com/casey/just
Today: lexer Futhark.
Site:
https://futhark-lang.org/
I noted that Futhark lexer exists for VSCode and Sublime [version for Sublime is not published in PackageControl].
In VSCode it has about 800 downloads.
Language is cool.
Posted: 26.02.2023 12:52
by main Alexey
Looked at the Ante language.
http://antelang.org/
site is good, github has 1600 likes. but - too less commits (less than 300) in github; and Sublime Text don't have syntax file for it. VSCode has syntax file, with about 50 downloads. not popular.
Posted: 19.03.2023 14:35
by main Alexey
Added lexer VRML (virtual reality modeling language).
Lists of keywords/types/nodes were taken from Kate editor lexer.
https://en.wikipedia.org/wiki/VRML
Posted: 30.03.2023 17:47
by main Alexey
Added lexer WGSL (WebGPU shader language).
Keywords and operators lists were taken from SublimeText lexer (i found only 1 missing keyword).
https://www.w3.org/TR/WGSL/
Posted: 19.04.2023 17:12
by main Alexey
Added lexer Janet.
Language has good site, language has 2K stars on Github, has some pull-requests.
https://github.com/janet-lang/janet
I copied lists of standard IDs and operators from Sublime Text syntax file. Also copied rules for numbers (decimal, hex, custom base numbers).
Posted: 21.04.2023 21:53
by main Alexey
Added lexer ANSYS APDL.
Partly ported from original VSCode lexer, one of these
https://marketplace.visualstudio.com/se ... =Relevance
but word-lists were very complex. So word-lists were not all ported. If somebody needs all word-lists, I need help here to get these lists from VSCode lexer(s), in simple form - one word per one line.
In VSCode word-lists have the form of RegEx, and in Cud we need form of EOL-separated list.
Posted: 12.05.2023 16:21
by main Alexey
Added lexer MDX (Markdown with JSX).
It is cloned Markdown lexer, which requires 'JavaScript Babel' as sub-lexer.
Lexer has a bug - sub-lexer rule for {...} JSX blocks, works wrong, it does not consider nested {} brackets, so it closes the JSX block by the _first_ occurrence of '}'. It must close JSX blocks properly counting nested {}, but lexer engine cannot do it, yet.
Posted: 04.06.2023 13:20
by main Alexey
I found new syntax file for Sublime: KDL language.
https://kdl.dev/
I looked at the site, at the GitHub, and see it's not hard to add syntax. But none did request this syntax yet. So postponed. lexer not needed yet. If it will be needed, maybe I will request something in exchange (not money).
The similar thing - is about Typst syntax. Good new language.
GitHub is active, many stars.
https://github.com/typst/typst
But none did request it.
Posted: 13.08.2023 09:49
by main Alexey
Lexer 'Pixilang' was created now.
Language:
https://warmplace.ru/soft/pixilang
Re: I will mention just created lexers in this topic
Posted: 22.10.2023 18:33
by main Alexey
Lexer 'Mojo' was published.
It supports file extension '.mojo' but to support file extension ".
" one has to add the config line:
https://wiki.freepascal.org/CudaText#File_types
Because old lexer format don't support unicode chars for filetypes.
Lexer is 98% copied/pasted from Python lexer.