package acgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Abstract Categorial Grammar development toolkit
Install
dune-project
Dependency
Authors
Maintainers
Sources
acg-2.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc
doc/acgtk.grammars/Grammars/Term_sequence/index.html
Module Grammars.Term_sequenceSource
This modules implements a cheap term parser to handle infix operators associativity and precedence without changing the menhir grammar files
Log is the log module for Term_Sequence
Source
type token = | Term of Logic.Abstract_syntax.Abstract_syntax.term * Logic.Abstract_syntax.Abstract_syntax.location| Op of Logic.Abstract_syntax.Abstract_syntax.term * Logic.Abstract_syntax.Abstract_syntax.syntactic_behavior * Logic.Abstract_syntax.Abstract_syntax.location(*The type of the tokens. Only
*)Opvalues can have infix syntactic properties
Source
val parse_sequence :
token list ->
AcgData.Signature.Data_Signature.t ->
Logic.Abstract_syntax.Abstract_syntax.term
* Logic.Abstract_syntax.Abstract_syntax.locationparse_sequence lst sg returns a pairs consisting of a term and its location. The sequence is parsed according to the associativity and precedence properties given in sg.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>