Replies: 5 comments 5 replies
-
i can't exactly help with the patterns, but |
Beta Was this translation helpful? Give feedback.
-
You can use regexes if you're more familiar with them. |
Beta Was this translation helpful? Give feedback.
-
@Guldoman Pascal's binary number started with |
Beta Was this translation helpful? Give feedback.
-
I need a bit help with Modula-2 and Modula-3 too. The numeric literals syntax of them is very different from Pascal: https://www.modula2.org/reference/vocabulary.php http://modula3.github.io/cm3/reference/complete/html/2_6_4Numeric_literals.html Both type prefixes and suffixes are involved. |
Beta Was this translation helpful? Give feedback.
-
I'm going to help with this issue https://github.com/lite-xl/lite-xl/issues/1352 (creating an Objeck lexer for Lite XL). Draft: https://github.com/iqskpduswupkcjqg/lite-xl-objeck-lexer/blob/main/language_objeck.lua |
Beta Was this translation helpful? Give feedback.
-
I'm very surprised that Lite XL doesn't have a Pascal lexer. So even though being an amateur I tried to create one. I have completed the keywords part but I'm stuck with the patterns now. They are something that I don't understand. My Pascal lexer is originally based on C# lexer, so the patterns part is still of C# and not yet adapted for Pascal. Please help.
https://github.com/iqskpduswupkcjqg/lite-xl-pascal-lexer/blob/main/language_pascal.lua
p/s: I tried to help with lite-xl/lite-xl-plugins#203 too, this is the result:
https://github.com/iqskpduswupkcjqg/lite-xl-modula-lexers/blob/main/language_modula2.lua
https://github.com/iqskpduswupkcjqg/lite-xl-modula-lexers/blob/main/language_modula3.lua
The patterns part is still of C# though.
Beta Was this translation helpful? Give feedback.
All reactions