#
a083c115 |
|
13-Apr-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Deal with rebindings of ptree_{size,fringe}_def in grammarScript Ability to EVAL these constants is lost because of b98f5ead5 Not sure that anybody ever used this, but still. With regression test.
|
#
ab2c9d3b |
|
04-Dec-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
First steps towards parsing f ⦇ d1 ↦ r1; d2 ↦ r2 ⦈ for fn. UPDATE The ASCII version of the same is f (| d1 |-> r1; d2 |-> r2 |) and of course, the old (d1 =+ r1) ((d2 =+ r2) f) can also be used. The pick of ⦇ ... ⦈ precludes using the same parentheses for s-expressions in the example of the same name (hence the changes in that example). The use of (| |) means that (||) no longer parses as paren-escaping the || operator (hence the change to wordsScript.sml). Pretty-printing still to be done.
|
#
e00c7e37 |
|
05-Dec-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Modify testutils.require_msg and derivatives to return values It can be useful to get back the result of a passing test for use in further tests that build on that. Knock-on effects where it is now not possible to simply List.app such functions; they must now have their results explicitly ignored.
|
#
1c953ffc |
|
28-Oct-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Have testutils.die automatically print out "FAILED" Argument to die is then appended to that, but on a new line. Adjust some selftests to take advantage of this, though of course, we don't expect to see the FAILED output for any of them because they're all passing.
|
#
b6b5fe21 |
|
27-Aug-2017 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Add pretty-printing test-cases for s-expression terms These cases currently fail, but shouldn't.
|
#
5f72e477 |
|
10-Feb-2017 |
H.Feree <h.feree@kent.ac.uk> |
Cleaner approach of location in parser
|
#
572ce3d9 |
|
05-Feb-2017 |
h.feree <h.feree@kent.ac.uk> |
Fixed selftest
|
#
b530eef4 |
|
26-Apr-2016 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Make context-free languages selftest use testutils
|
#
3c51e8d4 |
|
25-Sep-2015 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
One more parsing test for repeated "dot-conses"
|
#
a2116435 |
|
25-Sep-2015 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Improve sexp parsing to handle dotted lists better Also move some peg_eval theorems from CakeML to pegTheory and use these to simplify proof about valid symbols.
|
#
a5acf22e |
|
24-Sep-2015 |
Ramana Kumar <ramana@member.fsf.org> |
I think a symbol should not start with a . or a " It would probably be possible to allow symbols starting with ".", but is it worth the effort? Also, I noticed a discrepancy with my understanding of sexps: (this is a dotted . list) is not allowed, but I think it should be (representing (this . (is . (a . (dotted . list)))))
|
#
7a77114e |
|
23-Sep-2015 |
Ramana Kumar <ramana@member.fsf.org> |
make pegLib.derive_lookup_ths return more
|
#
05199544 |
|
20-Sep-2015 |
Konrad Slind <konrad.slind@gmail.com> |
playground for formal language theory developments.
|