I have some GVPR programs that need clean-up. A cross-reference would help (a bit). Any thoughts how to create a cross-reference of this (GVPR) language?
Maybe we can use machine learning
I know Stephen was (mostly) just having fun, but …
- Everybody else is 92 percent of programmers are using AI
- Stack Overflow, a question-and-answer portal for developers, is laying off nearly a third of its workforce to replace it with generative AI-driven coding assistants
- I looked for a parser/lexer “by example”, but could not find one. (You provide enough legal examples of input and “it” builds the parser/lexer)
- Maybe time for me to join the current century? (Good luck with that, I’m still pissed that “they” changed the syntax of the UNIX/Linux sort command!)
by a cross reference, do you mean, click a variable/function, go to its definition?
That would be great, but I’d settle for an old-style listing followed by variables plus page&line where they were referenced. (I really am old school)
But I am open to other suggestions, as long as they are “stronger” than “grep”
My comprehension of the original message is close to zero. But if it helps you, cscope can be coerced into parsing GVPR. Here it is querying some stuff in the repo:
Thanks Matt, cscope works like a champ.
Not too surprising as gvpr is built on top of a C-like library.