Home /Modules/ide/README.md

README.md

ide/language/README.md · 27 line(s) · markdown

<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">

<img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela/sleela-logo-004.jpg" alt="SLeeLa">

IDE Language Layer

The language layer defines the IntelliJ-facing representation of SLeeLa.

The repository already contains a C++ lexer and recursive-descent parser under impl/frontend. The lexer exposes token kind, text, line and column; the parser builds the SLeeLa AST. The IDE must use those definitions as its semantic authority.

Components:

Generated parser technology may be used for the IDE layer, but its grammar must remain conformant with the compiler grammar and be tested against the SLeeLa corpus.