Open ThierryGoubier opened 7 years ago
Interesting issue! Related: if a user of SmaCC chooses to use lower-case names for their non-terminals, will the generated classes have lower-case names? Will this break Pharo?
Well, as you noticed in that case, it capitalize non-terminals names before using them for AST node class names, making it safe for Pharo, except in the %root option... and I suspect the %prefix and %suffix options as well.
From the IDL parser:
creates both an ASTspecificationNode and an ASTSpecificationNode, and associated visitor methods: ASTspecificationNodeVisitor>>#visitspecification: and ASTspecificationNodeVisitor>>#visitSpecification:.