MOP 2.0 Context Free Grammar (CFG) Plugin

Jump to: navigation, search


Private:MOP Languages MatrixMOP Languages

MOP

Private:MOP Logic Repository MatrixMOP LogicRepository
    

FSM

ERE

CFG

PTLTL

FTLTL

PTCaRet

...

JavaMOP

JavaFSM

JavaERE

JavaCFG

JavaPTLTL

JavaFTLTL

JavaPTCaRet

...

BusMOP

BusFSM

BusERE

...

BusPTLTL

... ... ...
... ... ... ... ... ... ... ...
MOP Matrix: a clickable map of MOP pages.



This page allows one to synthesize online monitors from context free grammars (CFG), using the lr, lalr, lr_lazy, and lalr_lazy plugins for MOP. The generated monitors are push-down automata-based, using a modified version of the standard table driven LR parsing algorithm; see links in the top-right box for details and syntax. Simply choose (and modify) one of the examples below from the list on the left, or write your own in the text box, then click Run. to see the result. If you find any bug or have any comment, please send us a message at mop@cs.uiuc.edu or report it using BUGZILLA (account needed first time you use it, but it has several benefits).


Choose an example:
  • a b
  • a* b
  • a^n b^n (lalr)
  • a^n b^n
  • conflict-1 shift-reduce (lalr)
  • conflict-1 shift-reduce
  • conflict-2 reduce-reduce
  • conflict-3 SafeLock (lalr)
  • conflict-3 SafeLock
  • conflicts (lalr)
  • conflicts
  • ClosedReader (lalr)
  • ClosedReader
  • FailHasNext
  • FailImprovedLeakingSync (lalr)
  • FailImprovedLeakingSync
  • Lock
  • MatchingHasNext
  • MatchingImprovedLeakingSync (lalr)
  • MatchingImprovedLeakingSync
  • SafeFile (lalr)
  • SafeFile
  • SafeFileWriter (lalr)
  • SafeFileWriter
  • SafeLock (lalr)
  • SafeLock
  • SuffixHasNext
  • SuffixLeakingSync
  • SuffixSafeFileInputStream (lalr)
  • SuffixSafeFileInputStream
  • UnsafeIterator
 

Please press the Run button once and wait; it may take a few seconds to run CFGPlugin2.0; the execution of CFGPlugin2.0 using this web interface is limited to 2 minutes of CPU time and 500 MB of RAM.

Personal tools
Namespaces

Variants
Views
Actions
Navigation