package asli
Interpreter for Arm's Architecture Specification Language (ASL)
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
md5=f4581fd209256823fa4d569ac96c8cee
sha512=fd4a74294beb9eeeafa80c9224b5dc30f5e5ebde4d53fa601929d283b6ca72154de313874321774914f738ac6f0d640e59452f7d03cb1db7b3a019b48b82e0d4
doc/asli.libASL/LibASL/Value/index.html
Module LibASL.Value
Source
ASL interpreter values
Values
This union type is for use in an interpreter
Source
type value =
| VBool of bool
| VEnum of LibASL.Asl_utils.AST.ident * int
| VInt of Primops.bigint
| VReal of Primops.real
| VBits of Primops.bitvector
| VMask of Primops.mask
| VString of string
| VExc of LibASL.Asl_utils.AST.l * Primops.exc
| VTuple of value list
| VRecord of value Asl_utils.Bindings.t
| VArray of value Primops.ImmutableArray.t * value
| VRAM of Primops.ram
| VUninitialized
Exceptions thrown by interpreter
Printer for values
Functions on values
Source
val set_field :
LibASL.Asl_utils.AST.l ->
value ->
LibASL.Asl_utils.AST.ident ->
value ->
value
Delete all characters matching 'c' from string 'x'
Primop dispatch on values
Returns None iff function does not exist or arguments have wrong type
Utility functions on Values
Unknown handling
We might want to change this in the future to model the expected non-determinism in the spec. And we might want to augment this with some form of support for uninitialized values (which would ideally trigger an error).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page