-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The language is designed to support parser extensions which can add custom declaration types, statement types etc. Enabling globally outside file might be a bad idea.
The source file can have top level statement which adds parser extension to the parser and those extensions can be used later in the source.
use shard.builtin;
use shard.web;
The keyword might be different. The parser extension can be even defined in Shard file in some way without extending the parser in C++.