What happened to ANTLR 3's Symbol Table? #4681
AllynShell
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
Symbol table and scopes are not within the purvey of antler. I’m not sure
what you mean when you say ANTLR3 generated this? I seem to remember a post
about doing such things - perhaps you are referring to that?
…On Fri, Aug 23, 2024 at 19:50 AllynShell ***@***.***> wrote:
ANTLR 3 could generate a Symbol Table. Why hasn't ANTLR4 brought this
feature forward?
I recommend that ANTLR4 restore the scope sensitive Symbol Table to track
types, constants, variables, operators and functions and to assure declare
before assign and assign before use and validate which operators are valid
for which types and what conversions must be inserted to assure correctness.
—
Reply to this email directly, view it on GitHub
<#4681>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ7TMCXCNIJTHWL2AHREKLZS7RHDAVCNFSM6AAAAABNBED2MWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGA4DQNZVGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ANTLR 3 could generate a Symbol Table. Why hasn't ANTLR4 brought this feature forward?
I recommend that ANTLR4 restore the scope sensitive Symbol Table to track types, constants, variables, operators and functions and to assure declare before assign and assign before use and validate which operators are valid for which types and what conversions must be inserted to assure correctness.
Beta Was this translation helpful? Give feedback.
All reactions