mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
grammar refactoring: build_visitor fixed & visitors tested
This commit is contained in:
parent
3c2d496a85
commit
e4802896bd
35 changed files with 118128 additions and 91770 deletions
|
|
@ -1,38 +1,23 @@
|
|||
// partition DOC { // or .doc.lang filename
|
||||
// // ...
|
||||
// }
|
||||
|
||||
// ?? separated doc ??
|
||||
|
||||
partition TEST { // or .test.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
partition INTERFACE { // or .interface.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
partition CORE { // or .core.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
partition LIB { // or .lib.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
partition MODULE { // or .module.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
// maybe another name for partition
|
||||
|
||||
partition EXE { // or .exe.lang filename
|
||||
decl something : Unit
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
// partition CONFIG { // or .config.lang filename
|
||||
// decl something : Unit
|
||||
// }
|
||||
|
||||
// ?? config is one of the partitions ??
|
||||
// ?? maybe more ??
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue