Skip to content

Adding variable detection#27

Open
jongodshall wants to merge 2 commits into
mmccall:masterfrom
jongodshall:master
Open

Adding variable detection#27
jongodshall wants to merge 2 commits into
mmccall:masterfrom
jongodshall:master

Conversation

@jongodshall
Copy link
Copy Markdown

Hi!

I wanted to make a text editor extension that could track down syntax errors in M code; mostly variable integrity (did you new everything you need to, etc). eMcellent got me a lot of the way there, but I needed it to be able to tell where the variables are on a line and which of them were potentially changed. I added functionality to the parse library to do that. The serialized object of the line now also contains objects for all variables found, changed variables, and newed variables.

unknown added 2 commits October 27, 2015 16:09
arguements, now also detect and record the variables used and modified on
each line.  Top level object has three children to track all variables,
newed variables, and changed variables.
-Now it doesn't get arrays and functions confused
-Now knows how to detect things passed by indirection as variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant