summaryrefslogtreecommitdiff
path: root/tikzit/src/common/tikzparser.ym
AgeCommit message (Collapse)Author
2013-03-25Catch some memory leaksAlex Merry
Memory usage on Linux no longer shoots up after running the tikz parser a handful of times.
2013-03-23Fixes to the parser error-reporting codeAlex Merry
2013-03-23Store parsed graph propertiesAlex Merry
It appears I broke this when rewriting the parser.
2013-03-23Bring back parser/lexer error reportingAlex Merry
Even better than before!
2013-03-23Make the parser/lexer reentrantAlex Merry
No more locking! Also, the interface for TikzGraphAssembler is much simpler. Changes to OSX code are completely untested.
2013-03-23Annotate token declarations in parserAlex Merry
Better error messages and cleaner code in the body of the parser.
2013-03-23Make the parser more coherentAlex Merry
We build things up in stacks in the parser, rather than relying on TikzGraphAssembler so much. This makes tikzparser.ym easier to follow (IMHO).
2013-03-22Rewrite the lexer to be context-awareAlex Merry
It turns out Flex can do modal lexing. This means that we can switch mode for optional properties, and also for co-ordinates. As a result, the parser is much simpler and doesn't keel over all the time on valid input.
2013-03-22Anchors can have spaces in themAlex Merry
Parse anchors with spaces, like (3.north west).
2013-03-22Fix parser hack for props containing the word "node"Alex Merry
2013-02-04Fix parsing of keywords in property names and valuesAlex Merry
Keywords like "rectangle" and "at" were not allowed unquoted by the parser, but would not be quoted by the generator. Fixes: #10
2013-02-04Fix property list parsingAlex Merry
QUOTEDSTRING (double quotes) is just not a thing in tikz. Also, allow keys to be {-quoted as well as values.
2013-01-27Better parser errors on syntax errors. Will show line number, description ↵Johan Paulsson
and where the error happened. Test function for delimited string if they will break reprising.
2013-01-24Anchor support for the parser and osx guiJohan Paulsson
2012-05-29Fix handling for property values containing = or ,Alex Merry
Equals and comma are special values that need to be quoted with curly braces. This both parses and generates such quoted strings, although they are only generated when necessary.
2012-05-29Add vi modelines to the lexer/parser codeAlex Merry
2012-01-09Move tikzit into "trunk" directoryrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64