summaryrefslogtreecommitdiff
path: root/language/l2.ott
AgeCommit message (Collapse)Author
2017-07-24move value type definitions to ott, and introduce new E_internal_value ast ↵Jon French
node for passing around encapsulated evaluated values; change Interp.to_exp to now just wrap values in this node
2017-07-21l2.ott: port across additions to base_effect from rmemJon French
2017-07-21l2.ott: factor ocaml 'l' type reference into ott definition of 'l'Jon French
2017-07-21l2.ott, l2_parse.ott: remove unnecessary 'type text = string'Jon French
2017-04-06typesetting tt vs non-ttPeter Sewell
2017-04-06fix typesetting of standalone grammar documentPeter Sewell
2017-02-25wibPeter Sewell
2017-02-13wibPeter Sewell
2017-02-13make syntax typeset in manual in ASCII-friendly style rather than usingPeter Sewell
math symbols. This breaks the l2.pdf build in language/ (for the moment).
2017-02-13tidyingPeter Sewell
2017-02-13tidyingPeter Sewell
2017-02-10wibPeter Sewell
2017-02-10wibPeter Sewell
2017-02-10tidy l2.ottPeter Sewell
2017-02-09tweak pp of initial type environment and l2.ott commentsPeter Sewell
2017-02-05Merge branch 'master' of bitbucket.org:Peter_Sewell/sailPeter Sewell
Conflicts: language/manual.pdf
2017-02-05wibPeter Sewell
2017-02-02K,P debriefPeter Sewell
2016-09-25Catch formal type system up to reality, in progressKathy Gray
2016-08-14Start adding form for (a,b,c) := foo()Kathy Gray
Not working yet
2016-07-23Add effect annotation for return, and actually keep a return after type check.Kathy Gray
2016-07-23Add a return exp form to Sail, supported in type checker and in interpreter.Kathy Gray
TODO: add an event for a return so that rewriters can find and remove them as needed for OCaml and Lem
2016-05-27Also add to ottKathy Gray
2016-03-03Fix typo in manual which had true instead of false on assert documentationKathy Gray
Fix bug in local register access
2016-03-02Add new language feature to permit definitions of items of kind Nat, etc as ↵Kathy Gray
well as items of kind Type. Syntax for the feature is: def Nat id = nexp Note: some useful nexps may not parse properly. All typedef forms can also be used as def Type ... if desired, but this is not required.
2016-02-23Several fixesKathy Gray
Improve printing for asl to sail readability; Add -o option for selecting the name of file generation; Add additional initial check module for turning generated ast nodes into ready-to-type-check ast nodes
2016-01-06Add new assert expression to SailKathy Gray
This splits the former functionality of exit into errors, which should now use assert(bool,option<string>), and a means of signalling actions such as instruction-level exceptions, interrupts, or other features that impact the ISA. The latter will now be tracked with an effect escape, and so any function containing exit and declared pure will generate a type error. WARNING: ARM spec will not build with this commit until I modify it. MIPS spec will not build with this commit until modified.
2015-12-17First bit of gluing mips onto interpreter and eventually ppcmem infrastructureKathy Gray
2015-12-14Adding new location constructor for location of generated termsKathy Gray
2015-11-24Add BE_escape effect when an E_exit is seenKathy Gray
Close #20
2015-10-19progress on lem backendChristopher Pulte
2015-10-08Add another internal let for ChristopherKathy Gray
2015-10-07Start expanding annot for more refined effect trackingKathy Gray
2015-09-24Parameterise the rewriter's for multiple different rewritingsKathy Gray
Add a new internal node for moving assignments into scope-preserving expressions that more explicitly define the scope
2015-06-24Support new memory write events in the sail front end and pretty printerKathy Gray
Events are eamem to signal the memory address to write to and wmv to pass the value to write
2015-05-13Add dynamic footprint dependency check event/outcomeKathy Gray
Also fix type checker bug in not reporting modifications to parameter values
2015-03-26Add subtraction to nexp grammar (removing the need to do a + (-1 * b))Kathy Gray
Fix up parsing on 2** precedence Fix errors on type variables in function definition
2015-02-17Bring type rules more into modern state of type checkerKathy Gray
2015-02-13Actually use new dependency information in generation of lem/etc.Kathy Gray
Also stop rewriting code in the pretty printer, instead move it all into a new general rewriting pass
2015-01-12Add specialised support for numeric singleton types (i.e. what used to be ↵Kathy Gray
range<'N,'N>) Non-sugar syntax is -- forall Nat 'N. atom<'N> Sugar syntax is -- [: 'N :] Also begin adding pp support for generating ocaml from ast types.
2014-12-03Type rules unto coercion now represented in ottKathy Gray
2014-11-27Start having a manual of sorts. At least specify the built in functionsKathy Gray
(list not complete)
2014-09-30Add type annotations to funcls to track effects and constraints from one ↵Kathy Gray
function-clause
2014-07-29A file can now declare that a default order is either inc or dec, and this ↵Kathy Gray
will be reflected in short hand type syntax, inc is still the default if undeclared So: default order dec register bit[32] t (* Declares t as a decreasing vector, starting at 31 on the left and decreasing to 0 *) default order inc register bit[32] o (* Declares o as an increasing vector, starting at 0 on the left and increasing to 31 *) It is presently possible to change the default mid-file; this is almost certainly bad and I will turn it into an error soon.
2014-07-18Writing to concatenated aliasesKathy Gray
2014-07-08Extend language to support register aliases and to support interrupts, traps ↵Kathy Gray
and the like.
2014-06-26Adding better support for unspecified values in indexed vectorsKathy Gray
Also begining to add support for nondeterministic blocks and cleaning up some of the Many warnings on pattern matches
2014-06-25Add support for memory barrierKathy Gray
2014-06-25Add support for actions that read just a slice or single bit of a registerKathy Gray
2014-06-04Fixup type coercions and overloadingKathy Gray
Reduce the number of implicit coercions we're doing, expanding overloading and fixing up types of functions. Warning: test_power does not run as not all overloaded funcitons are implemented Warning: vector concatenation does not pretty print to sail source yet