-
Notifications
You must be signed in to change notification settings - Fork 0
Modular design
Yuriy edited this page May 13, 2025
·
1 revision
Your parser can be separated to different files, every file being module. Several files can be of one module. You can import module through import and use it's features
module foo;
import foo; // import as namespace
import NUMBER, STRING from foo; // import something special from foo
import * from foo; // import everything globally from foo