Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
fix
Commits
3d27bd3f
Commit
3d27bd3f
authored
Nov 26, 2018
by
POTTIER Francois
Browse files
README.
parent
9d3f6586
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3d27bd3f
...
...
@@ -53,4 +53,24 @@ The signatures that appear in the above files,
such as
`MEMOIZER`
,
`TABULATOR`
,
`SOLVER`
, and so on,
are defined
[
here
](
src/Sigs.ml
)
.
<!-- demos -->
## Demos
A few demos are provided:
*
[
`brz`
](
demos/brz
)
sets up a hash-consed representation of regular
expressions and shows how to convert a regular expression to a deterministic
finite-state automaton by Brzozowski's method. This demo exploits all of the
submodules listed above!
*
[
`cyk`
](
demos/cyk
)
presents a CYK-style parsing algorithm as an instance of
`Fix`
.
*
[
`cfg`
](
demos/cfg
)
uses
`Fix`
to perform certain static analyses of a
context-free grammar; this includes computing nullability information and
FIRST sets.
*
[
`fib`
](
demos/fib
)
defines Fibonacci's function in several different ways
using the fixed-point combinators offered by
`Memoize`
and
`Fix`
.
*
[
`hco`
](
demos/hco
)
sets up simple-minded hash-consed trees
using
`HashCons`
.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment