Skip to content

Commit

Permalink
crucible-llvm-syntax: README
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Oct 31, 2023
1 parent 4229b6f commit 3d7ced7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions crucible-llvm-syntax/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# crucible-llvm-syntax

This package provides concrete syntax for Crucible-LLVM types and operations.

Concretely, it implements a `ParserHooks` for use with [`crucible-syntax`][syn].
This `ParserHooks` supports the following types and statements:

**Types**:

- `(Ptr n)` for a positive numeral `n` represents the type of LLVM pointers that are `n` bits wide. For example `(Ptr 8)` is the type of bytes.

**Statements**:

- `null : Ptr n` is the null pointer, i.e. the pointer with both block number and offset concretely set to zero. The width of the null pointer is determined by the `?ptrWidth` implicit parameter used when constructing the `ParserHooks`

[syn]: ../crucible-syntax

0 comments on commit 3d7ced7

Please sign in to comment.