summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-17Correct directionality in interpreter. Now the interpreter shouldn't use inc ↵Kathy Gray
unless that's the current default or there's no default set in the spec
2015-03-15oops, last one broke power's build. this fixes itKathy Gray
2015-03-15Many changes:Kathy Gray
Split out specification specific memory and external functions Reduce the presence of big_int Reduce the use of inc direction, instead using a default from the spec. Still a few places need to be parameterised over direction Also some bug fixes exposed by above and running ARM second instruction
2015-03-04Fix off-by-one constraint error on vector to number coercionsKathy Gray
2015-02-27Fix a series of errors leading to the first ARM instruction not running.Kathy Gray
Including: Correct loss of constraints between declared constraints, pattern constraints and expression body constraints Handle insertion of dependent parameters in the case of unit parameters Add a case to how ifields are translated to permit numbers as well as bits and bitvectors Expand interpreter to actually handle user-defined functions on the left had side of the assignment expression.
2015-02-25Fix rewriting tag bugKathy Gray
2015-02-25and catch a printfKathy Gray
2015-02-25Stop losing constraints due to incorrectly calculating their sizeKathy Gray
2015-02-24Fix lem printingKathy Gray
2015-02-24Turn off the printfs left in from previous debuggingKathy Gray
2015-02-24Fix bug where type parameters weren't pushing down into the body of a ↵Kathy Gray
function for good unification, especially for rewriting
2015-02-18Fix dependency generation when type variable appears in a vector length positionKathy Gray
2015-02-17actually support string typesKathy Gray
2015-02-14Fix another failure to keep tracking rreg effects.Kathy Gray
2015-02-13Fix error of not keeping register reads when they're accessed via a fieldKathy 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-02-06Fix error in type internal stopping idlarm from buildingKathy Gray
2015-02-04collect and carry around more data for dependency trackingKathy Gray
2015-02-03Correct bug in typedef NAME = register bits .... for Dec not present in IncKathy Gray
Also tracking more information to help dependency eventually
2015-01-28take sign into account on whether a number fits into the number of available ↵Kathy Gray
bits or not
2015-01-23Bring slice vector's type checking into line with what the formal system ↵Kathy Gray
says and what the interpreter etc actually expects. (also generate the correct constraints)
2015-01-22Actually remove minus on negative numbers from Lem outputKathy Gray
2015-01-21Fix implicit type check errorKathy Gray
2015-01-21turn negative numbers into 0-n in Lem ast backendKathy Gray
2015-01-20Fix sparse vector fupdate slicing, assigning values in the right order and ↵Kathy Gray
with the correct bit number
2015-01-19Add an overload for - for vec x vdc -> rangeKathy Gray
2015-01-17update divisionKathy Gray
2015-01-16more for loop corrections, as well as pattern match errorKathy Gray
2015-01-15signed subtractionKathy Gray
2015-01-15Fix for loop error causing premature stoppingKathy Gray
2015-01-15Add support for overflow detecting subtractionKathy Gray
2015-01-14correct where overflow checking should happen on multiplication arithmeticKathy Gray
2015-01-14correct wrongly used variable in arith operationsKathy Gray
2015-01-14more carry outKathy Gray
2015-01-14carry outKathy Gray
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-19Support returning registers from functions, as with putting registers in ↵Kathy Gray
vectors; and allow the result to access fields of registers where applicable.
2014-12-18Fix subtraction with integer typeKathy Gray
2014-12-18Add negative literals such as -1. WARNING may not generate valid lem in the ↵Kathy Gray
presence of negative literals
2014-12-18Bring interpreter upto date with current LemKathy Gray
2014-12-16Fix bug on nat/type/order/effect variable bindingKathy Gray
Fix bug allowing function types in too many places
2014-12-11Add 2 ** n function; support providing type variables to other files when lexingKathy Gray
2014-12-11Change compare of two big ints to compare_big_intKathy Gray
2014-12-11turn back off debugging printfKathy Gray
2014-12-11fix error with type int and subtractionKathy Gray
2014-12-11Carry out changeKathy Gray
2014-12-11Many fixes, primarily dealing with undefinedKathy Gray
Including: turn an undefined literal into a vector of undefined values of the correct length handle sparse vector unspecified default values as undefined literals allow global lets to call library functions
2014-12-10Fix negKathy Gray
2014-12-10Fix fromJust of Nothing error in multiplicationKathy Gray
2014-12-10Support splitting sail definition across multiple filesKathy Gray