@christianp I occasionally have re-surface a parsing requirement that I feel should have been solved by someone, somewhere, and feels like it would be phenomenally useful, but I can never find a solution.
I should write up the requirement sometime so people can tell me why it will never work.
@ColinTheMathmo go for it!
@christianp Sounds like that could potentially be applied to build a nice macro system for a lisp-like language. Or—I'm thinking out-loud as I'm writing—a nice foundation for a computer algebra package.
I'd love to hear more about it anyway.
@j the latter is what I intend to use it for
@christianp What does “tree” mean here?
@Colinvparker an abstract syntax tree. For example, a × (b+c) can be interpreted as a tree with × at the root
@christianp ok, so there’s a search syntax that would let me search for simple things like “b+c” or “a product involving a sum” or such?
@christianp and vs regular expressions I don’t have to spend a long time telling it to ignore parentheses if they’re redundant or other silliness?
A Mastodon instance for maths people. The kind of people who make \(\pi z^2 \times a\) jokes.
\) for inline LaTeX, and
\] for display mode.