ScintillaOrg / lexilla

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

Add Oberon lexer #126

Open 1997tn opened 1 year ago

1997tn commented 1 year ago

Oberon has many dialects (Oberon-2, Oberon-07,...) so I think it's reasonable to group them all in the Oberon lexer, unlike Modula family of languages only have two members Modula-2 and Modula-3 and they are two different languages using 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.

Oberon is similar to Modula, but not the same. Modula lexer could serve as the foundation.

https://cseweb.ucsd.edu/~wgg/CSE131B/oberon2.htm

https://people.inf.ethz.ch/wirth/Oberon/Oberon07.Report.pdf

https://gitlab.inf.ethz.ch/felixf/oberon/-/raw/main/docu/OberonLanguageReport.pdf

https://en.wikipedia.org/wiki/Oberon_(programming_language)

https://github.com/oberon-lang/specification/blob/master/The_Programming_Language_Oberon%2B.adoc