Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 25, 2015
  1. @mn200
Commits on May 22, 2015
  1. @mn200

    Fix parsing bug found by Yong Kiam

    mn200 authored
    Issue was in handling of translation from concrete syntax tree to
    abstract, as per comment in cmlPtreeConversionScript.sml.
    
    Now
    
        SOME ()
    
    translates to
    
        Con (SOME (Short "SOME")) [Con NONE []]
  2. @mn200

    Fix a test-case broken by 1700781

    mn200 authored
Commits on May 20, 2015
  1. @mn200
Commits on Jan 21, 2015
  1. @mn200
Commits on Jan 9, 2015
  1. @mn200
Commits on Sep 3, 2014
  1. @mn200

    Update HOL URL in README.

    mn200 authored
  2. @mn200

    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. @mn200

    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. @mn200

    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. @mn200

    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. @mn200

    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. @mn200

    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. @mn200
Commits on Oct 16, 2013
  1. @mn200
  2. @mn200

    Substitute "cml" for "mml" everywhere.

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

    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. @mn200

    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. @mn200

    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. @mn200
  2. @mn200
  3. @mn200
  4. @mn200
Commits on Sep 5, 2013
  1. @mn200
  2. @mn200
Commits on Aug 12, 2013
  1. @mn200

    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. @mn200
  2. @mn200

    Grammar and PEG for infix :: in patterns.

    mn200 authored
    Soudness, completeness, one test-case.
  3. @mn200

    Grammar and PEG for []-lists as patterns.

    mn200 authored
    Soundness, completeness, one test-case.
  4. @mn200

    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. @mn200
Commits on Aug 8, 2013
  1. @mn200

    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. @mn200

    Parse exception declarations.

    mn200 authored
    Soundness, completeness and simple tests all done.
Something went wrong with that request. Please try again.