veryl-lang / veryl

Veryl: A Modern Hardware Description Language
Other
478 stars 22 forks source link

Naming convention of built-in namespaces #910

Closed dalance closed 3 weeks ago

dalance commented 1 month ago

Now there are two built-in namespace: $sv and std. One is prefixed by $ and another isn't, it is inconsistent.

There are two ways to unified naming convention.

At the moment, I prefer sv and std.

dalance commented 1 month ago

From the point of view of syntax complexity, removing $ is good because DollarIdentifier can be removed from ScopedIdentifier.

dalance commented 1 month ago

Refs #911 Using $ to indicate compiler built-in is reasonable. So $sv and $std is better.