diff options
author | Chloe Brown <chloe.brown.00@outlook.com> | 2025-06-26 18:18:27 +0100 |
---|---|---|
committer | Chloe Brown <chloe.brown.00@outlook.com> | 2025-06-26 18:18:27 +0100 |
commit | e3ad4a67050c8e918afeb069f40d88f5a4e7b21a (patch) | |
tree | a6ac6f197529b4910bb3a0569e6fc9f0fbad82f4 /sec | |
parent | 8294ab5e9530609dc0931a807315a95f86427b9a (diff) |
Fix 941--947.
Diffstat (limited to 'sec')
-rw-r--r-- | sec/compiler.ltx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sec/compiler.ltx b/sec/compiler.ltx index f7a53b3..e8c1664 100644 --- a/sec/compiler.ltx +++ b/sec/compiler.ltx @@ -38,10 +38,10 @@ staged compiler for expressions using MetaML~\cite{metaml}. The interpreter only reports errors about the combinators at run time. We adapted the combinator interpreter for Idris 2. First, we used -dependant types to statically enforce a combinator is well-formed. The -``parse'' interpretation function requires a certificate that a parser -is well-formed. Second, our interpreter produces a certificate that -the list of unprocessed tokens is a suffix of the input tokens. This +dependant types to statically enforce a combinator is well-formed; the +interpretation function takes a certificate that a parser is +well-formed. Second, our interpreter produces a certificate that the +list of unprocessed tokens is a suffix of the input tokens. This certificate is required to satisfy the Idris termination checker when interpreting fixed point combinators. Finally, we thread state throughout the combinators. |