Replies: 1 comment 4 replies
-
Too complex. To track defined/undefined/local variables/arguments we would need a full-blown parser. We can only highlight syntax. The problem with Prism's regex approach is that we can't highlight anything based on (complex) context. Using lookaheads and lookbehinds is the best we can do to detect context...
Same here, tracking variables/arguments requires a parser.
If it's only the We can simple make two (or one) patterns like this:
Seems doable,
Ideally, this would be part of the I wonder if we could also support bases?
Can this symbol also be used in names? If yes, how does Wolfram distinguish between If it can't be used in variable names, then the regex is simple. Q: Are there also other symbols like this e.g. for division?
Why? |
Beta Was this translation helpful? Give feedback.
-
Now that there's some initial support for the wolfram language, there are a few more features we could add and I've added examples of them in the attached pdf. I would like to hear which ones people think are most doable and their thoughts on implementating them.
prism-wolfram-feature-requests.pdf
Beta Was this translation helpful? Give feedback.
All reactions