Commit Graph
67 Commits
Author SHA1 Message Date
patrick e4700fc638 Test conjunction 2020-04-09 16:07:32 +02:00
patrick 9e74116a4d Clean up tests 2020-04-09 16:07:32 +02:00
patrick 5512813cba Clean up tests 2020-04-09 16:07:32 +02:00
patrick c11156b2ce Test quantified formulas 2020-04-09 16:07:32 +02:00
patrick cc3265fc72 Test negation 2020-04-09 16:07:32 +02:00
patrick 121c858bff Remove unneeded precedence implementation 2020-04-09 16:07:32 +02:00
patrick 881419b8ee Address warnings 2020-04-09 16:07:31 +02:00
patrick dc27ab8aeb Fix 2020-04-09 16:07:31 +02:00
patrick c8ca7ba337 Remove ChildPosition enum 2020-04-09 16:07:31 +02:00
patrick 1968ed83ee Refactor precedence rules for formulas 2020-04-09 16:07:31 +02:00
patrick d1ab7963b1 Before larger refactoring 2020-04-09 16:07:31 +02:00
patrick 1a497254a8 Add unit tests for precedence-0 formulas and lower 2020-04-09 16:07:31 +02:00
patrick d57b3b3b62 Test remaining formula types 2020-04-09 16:07:31 +02:00
patrick 57d568916f Minor formatting 2020-04-09 16:07:31 +02:00
patrick e4fe047aba Start testing formula formatter 2020-04-09 16:07:31 +02:00
patrick 600a6a1b4b Refactor precedence rules 2020-04-09 16:07:31 +02:00
patrick 8bf9d4bd45 Fix implication formatting 2020-04-09 16:07:31 +02:00
patrick f82a20e5f1 Work in progress 2020-04-09 16:07:31 +02:00
patrick 5c51018ab1 Add unit test for function declaration formatting 2020-04-09 16:07:30 +02:00
patrick 23e1854346 Test term formatting 2020-04-09 16:07:30 +02:00
patrick a3da369346 Split formatting functionality into two files 2020-04-09 16:07:30 +02:00
patrick caf957deed Fix implication parser and output 2020-04-09 16:07:30 +02:00
patrick 1ece0e89ef Add note 2020-04-09 16:07:30 +02:00
patrick 0fdec430af Parentheses for stronger checks 2020-04-09 16:07:30 +02:00
patrick 5ea0a96ec4 Test disjunction parser 2020-04-09 16:07:30 +02:00
patrick 17d8dbd8ba Test conjunction parser 2020-04-09 16:07:30 +02:00
patrick 834e59207f Add note 2020-04-09 16:07:30 +02:00
patrick 257e02f285 Minor refactoring 2020-04-09 16:07:30 +02:00
patrick 2e3707e0af Check that names don’t start with special characters 2020-04-09 16:07:30 +02:00
patrick d0263dd1c4 Add missing word boundary character 2020-04-09 16:07:30 +02:00
patrick a7dd4d2fe9 Disallow reserved keywords as names 2020-04-09 16:07:29 +02:00
patrick c127bc5eea Address clippy warning 2020-04-09 16:07:29 +02:00
patrick cb616eba87 Refactor term parser tests 2020-04-09 16:07:29 +02:00
patrick 95677bae34 Fix negation parser 2020-04-09 16:07:29 +02:00
patrick 3414e8075c Address warnings 2020-04-09 16:07:29 +02:00
patrick 675063e1b8 Move string parser to separate module 2020-04-09 16:07:29 +02:00
patrick 7d78a504b1 Move special integer parser to separate module 2020-04-09 16:07:29 +02:00
patrick 6f86cd40d7 Move integer parser to separate module 2020-04-09 16:07:29 +02:00
patrick 29ea4578e4 Move boolean parser to separate module 2020-04-09 16:07:29 +02:00
patrick a1bbae9201 Finish implementing formula parsing 2020-04-09 16:07:29 +02:00
patrick 1c00e5be16 Continue parsing formulas 2020-04-09 16:07:29 +02:00
patrick 1b89d8900e Start parsing formulas 2020-04-09 16:07:29 +02:00
patrick af1ec8a606 Fix term parsing and finish tests 2020-04-09 16:07:29 +02:00
patrick 2907d10148 Make parse feature the default 2020-04-09 16:07:28 +02:00
patrick 19e70a90c5 Test associativity of multiplication 2020-04-09 16:07:28 +02:00
patrick 385c878597 Add term parsing test 2020-04-09 16:07:28 +02:00
patrick 5b98e8a29c Finish implementing term parsing 2020-04-09 16:07:28 +02:00
patrick 3530364ea8 Implement variable parsing 2020-04-09 16:07:28 +02:00
patrick deae102405 Require word boundaries around names 2020-04-09 16:07:28 +02:00
patrick 0fc8506164 Implement booleans 2020-04-09 16:07:28 +02:00