Ludovic Courtès 24ab804ce1
gexp: Catch and report non-self-quoting gexp inputs.
Previously we would, for example, generate build scripts in the store;
when trying to run them, we'd get a 'read' error due to the presence
of #<foo> syntax in there.

* guix/gexp.scm (gexp->sexp)[self-quoting?]: New procedure.
[reference->sexp]: Check whether the argument in a <gexp-input> box is
self-quoting.  Raise a '&gexp-input-error' condition if it's not.
* tests/gexp.scm ("lower-gexp, non-self-quoting input"): New test.
2019-09-23 23:41:19 +02:00
..
2018-09-04 17:25:11 +02:00
2017-01-26 13:49:56 +01:00
2019-03-16 18:15:13 +01:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2019-09-23 10:38:43 +02:00
2019-03-23 18:15:36 +01:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2019-05-22 00:09:41 +02:00
2019-09-02 15:25:01 +02:00
2019-08-27 12:20:44 +02:00
2018-09-04 17:25:11 +02:00
2018-10-29 00:13:38 +01:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2019-06-27 11:14:40 +02:00
2017-06-15 17:03:19 +02:00
2018-05-10 14:53:56 +02:00
2017-11-17 10:47:49 +01:00