Changed oll to olly
This commit is contained in:
parent
792d37252f
commit
ebdb419dd7
|
@ -45,4 +45,4 @@ Everything else in @racketmodname[cur] is provided by untrusted user-land code--
|
||||||
@include-section{scribblings/curnel.scrbl}
|
@include-section{scribblings/curnel.scrbl}
|
||||||
@include-section{scribblings/reflection.scrbl}
|
@include-section{scribblings/reflection.scrbl}
|
||||||
@include-section{scribblings/stdlib.scrbl}
|
@include-section{scribblings/stdlib.scrbl}
|
||||||
@include-section{scribblings/oll.scrbl}
|
@include-section{scribblings/olly.scrbl}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#lang scribble/manual
|
#lang scribble/manual
|
||||||
@(require "defs.rkt")
|
@(require "defs.rkt")
|
||||||
|
|
||||||
@title{OLL: Ott-like Library}
|
@title{Olly: Ott-like LibrarY}
|
||||||
|
|
||||||
@defmodule[cur/oll]
|
@defmodule[cur/olly]
|
||||||
The OLL provides syntax extensions for defining programming languages as inductive data. The library
|
Olly provides syntax extensions for defining programming languages as inductive data. The library
|
||||||
is inspired by Ott@todo{Citation needed}, which provides an language that resembles math notation for
|
is inspired by Ott@todo{Citation needed}, which provides an language that resembles math notation for
|
||||||
generating Coq definitions. The purpose of the OLL is not to replace Ott, but to demonstrate how
|
generating Coq definitions. The purpose of Olly is not to replace Ott, but to demonstrate how
|
||||||
powerful syntactic meta-programming can bring features previously only provided by external tools into
|
powerful syntactic meta-programming can bring features previously only provided by external tools into
|
||||||
the language.
|
the language.
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ nonterminal to another.
|
||||||
If @racket[#:vars] is given, it should be a list of meta-variables that
|
If @racket[#:vars] is given, it should be a list of meta-variables that
|
||||||
representing variables in the language. These meta-variables should only
|
representing variables in the language. These meta-variables should only
|
||||||
appear in binding positions in @racket[constructors]. These variables
|
appear in binding positions in @racket[constructors]. These variables
|
||||||
are represented as De Bruijn indexes, and OLL provides some functions
|
are represented as De Bruijn indexes, and Olly provides some functions
|
||||||
for working with De Bruijn indexes.
|
for working with De Bruijn indexes.
|
||||||
|
|
||||||
If @racket[#:output-coq] is given, it should be a string representing a
|
If @racket[#:output-coq] is given, it should be a string representing a
|
|
@ -1,5 +1,5 @@
|
||||||
#lang s-exp "cur.rkt"
|
#lang s-exp "cur.rkt"
|
||||||
;; OLL: The OTT-Like Library
|
;; Olly: The OTT-Like LibrarY
|
||||||
;; TODO: Automagically create a parser from bnf grammar
|
;; TODO: Automagically create a parser from bnf grammar
|
||||||
(require
|
(require
|
||||||
"stdlib/sugar.rkt"
|
"stdlib/sugar.rkt"
|
|
@ -6,7 +6,7 @@
|
||||||
(require
|
(require
|
||||||
rackunit
|
rackunit
|
||||||
cur/stdlib/sugar
|
cur/stdlib/sugar
|
||||||
cur/oll)
|
cur/olly)
|
||||||
|
|
||||||
(begin-for-syntax
|
(begin-for-syntax
|
||||||
(require rackunit)
|
(require rackunit)
|
|
@ -3,7 +3,7 @@
|
||||||
rackunit
|
rackunit
|
||||||
cur/stdlib/nat
|
cur/stdlib/nat
|
||||||
cur/stdlib/sugar
|
cur/stdlib/sugar
|
||||||
cur/oll
|
cur/olly
|
||||||
cur/stdlib/maybe
|
cur/stdlib/maybe
|
||||||
cur/stdlib/bool
|
cur/stdlib/bool
|
||||||
cur/stdlib/prop)
|
cur/stdlib/prop)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user