ScintillaOrg / lexilla

A library of language lexers for use with Scintilla
https://www.scintilla.org/Lexilla.html
Other
185 stars 65 forks source link

Add Component Pascal lexer #127

Open 1997tn opened 1 year ago

1997tn commented 1 year ago

Component Pascal has nothing to do with the language Pascal and it's indeed an Oberon, it's derived from Oberon-2. So it's up to you to let it as a separate lexer or merge it with the Oberon lexer. Component Pascal has two major implementations: one is from BlackBox and one is from GPCP. The two implementations use different source file extensions.

nyamatongwe commented 1 year ago

Please include links to information about the language, particularly documentation of its syntax if available.

New lexers are commonly only written by people with a strong stake in that language.

1997tn commented 1 year ago

Please include links to information about the language, particularly documentation of its syntax if available.

New lexers are commonly only written by people with a strong stake in that language.

Component Pascal is an Oberon dialect.

https://en.wikipedia.org/wiki/Component_Pascal

https://github.com/pahihu/gpcp-JVM/raw/main/documentation/CP-Lang.pdf

https://github.com/pahihu/gpcp-JVM/raw/main/documentation/CP-New.pdf