Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 21, 2015
  1. Michael Norrish
Commits on Jan 9, 2015
  1. Michael Norrish
Commits on Sep 3, 2014
  1. Michael Norrish

    Update HOL URL in README.

    mn200 authored
  2. Michael Norrish

    Better fix for parsing/testing, by inheriting from lexer_impl

    mn200 authored
    This relevant ancestor theory wasn't being used, and so the test-suite
    missed out on the changes made in 02d4772.
  3. Michael Norrish

    Put get_token_def back into compset for parsing/testing (only)

    mn200 authored
    This stops the infinite loop that was occurring when cmlTestsTheory
    built.
Commits on Aug 5, 2014
  1. Michael Norrish

    Parse type abbreviations in signatures.

    mn200 authored
    (Some other updates to grammar.txt made as well, to try to bring it
    into line with what's in gramScript.)
Commits on Aug 4, 2014
  1. Michael Norrish

    Refine PEG to handle type abbreviations

    mn200 authored
    Prove soundness, completeness, and that ptree conversion is total.
    
    Note in passing that semantics/cmlPtreeConversion is not converting a
    parse-tree corresponding to the "bool" type-operator to TC_bool, but
    rather to
    
       TC_name (Short "bool")
    
    Also, the list of possible tctors is missing TC_list.
  2. Michael Norrish

    Add type abbreviations to the concrete syntax.

    mn200 authored
    Next step will be to parse them (i.e., parsing completeness will fail
    at the moment).
Commits on Apr 25, 2014
  1. Michael Norrish

    Demonstrate new ThmSetData facilities to store/label EVAL thms for pa…

    mn200 authored
    …rsing
    
    For theorems saved or stored, the [cakeml/parsing] notation on the
    end of the theorem name works.  For definitions, explicit calls to
    store_attribute are required.  Then it's possible to get the theorems
    stored with a call to
    
        ThmSetData.all_data "cakeml/parsing"
Commits on Apr 24, 2014
  1. Michael Norrish
Commits on Oct 16, 2013
  1. Michael Norrish
  2. Michael Norrish

    Substitute "cml" for "mml" everywhere.

    mn200 authored
    Hopefully this purges all mentions of miniML, preferring instead
    CakeML.
  3. Michael Norrish
  4. Michael Norrish
  5. Michael Norrish

    Prove that the CakeML grammar is unambiguous.

    mn200 authored
    This fact has already been used in the repl-parser's correctness
    statement, but I figured we could have it explicitly too.
Commits on Oct 8, 2013
  1. Michael Norrish

    Complete conversion properties theory.

    mn200 authored
    As expected/hoped, the functions that convert from concrete syntax
    trees into abstract syntax trees are total on all well-formed (wrt the
    CFG) parse-trees.
Commits on Sep 24, 2013
  1. Michael Norrish

    Adjust to provision of new option monad stuff in core HOL.

    mn200 authored
    Will break if you are not running a HOL with commit 51adc5dfa2
Commits on Sep 6, 2013
  1. Michael Norrish
  2. Michael Norrish
  3. Michael Norrish
  4. Michael Norrish
Commits on Sep 5, 2013
  1. Michael Norrish
  2. Michael Norrish
Commits on Aug 12, 2013
  1. Michael Norrish

    Adjust grammars, proofs to handle "nil" as a constructor name.

    mn200 authored
    Also fix up constructor names that are qualified with a structure
    name, allowing one to write List.nil and have it recognised as
    something that might appear in a pattern, for example.
Commits on Aug 9, 2013
  1. Michael Norrish
  2. Michael Norrish

    Grammar and PEG for infix :: in patterns.

    mn200 authored
    Soudness, completeness, one test-case.
  3. Michael Norrish

    Grammar and PEG for []-lists as patterns.

    mn200 authored
    Soundness, completeness, one test-case.
  4. Michael Norrish

    Add [..] expression forms to grammar and PEG.

    mn200 authored
    Also fix old horribleness in cmlPtreeConversion to do with handling of
    lists of expressions.
    
    Prove soundness and completeness; include test-cases.
  5. Michael Norrish
Commits on Aug 8, 2013
  1. Michael Norrish

    Add :: as an expression form, translating to a Constructor called ::

    mn200 authored
    Also allow for infix @ at the same point in the grammar. This symbol
    just translates to a standard symbol applied to two arguments.
    
    Also, in passing, fix relational operators to be left-associative,
    making things like
    
       3 < 4 = true
    
    legitimate.
    
    Soundness and completeness proved.  One test.
    
    Still to come: list expressions with [...], and patterns with :: and
    [...]
  2. Michael Norrish

    Parse exception declarations.

    mn200 authored
    Soundness, completeness and simple tests all done.
Commits on Aug 2, 2013
  1. Michael Norrish
  2. Michael Norrish

    Adjust grammar to remove problem with fn V => E inside case expressions.

    mn200 authored
    PEG adjusted, and soundness reproved.
Commits on Jul 29, 2013
  1. Michael Norrish

    Further fixes to grammar for exception handling.

    mn200 authored
    Remove Exn non-terminal. Tests don't pass, and completeness doesn't
    build either. Soundness is good though.
  2. Michael Norrish

    Merge branch 'master' into exn

    mn200 authored
Something went wrong with that request. Please try again.