Package

epic.parser

repl

Permalink

package repl

Visibility
  1. Public
  2. All

Type Members

  1. case class DSLBRule(rule: BinaryRule[String], weight: Double) extends DSLGrammarPart with Product with Serializable

    Permalink

    You won't use this directly.

  2. sealed trait DSLGrammarPart extends AnyRef

    Permalink

    objects part of the dsl to create grammars nicely.

    objects part of the dsl to create grammars nicely. You won't create these directly.

  3. case class DSLLex(sym: String, word: String, weight: Double) extends DSLGrammarPart with Product with Serializable

    Permalink

    You won't use this directly.

  4. case class DSLURule(rule: UnaryRule[String], weight: Double) extends DSLGrammarPart with Product with Serializable

    Permalink

    You won't use this directly.

  5. class ReplGrammar extends AnyRef

    Permalink

    This class just provides some objects I commonly want on the REPL.

Value Members

  1. object DSLGrammar

    Permalink

    A DSL Grammar allows us to define simple weighted PCFG's quickly.

    A DSL Grammar allows us to define simple weighted PCFG's quickly. Useful for testing. See definition of simpleGrammar for an example.

  2. object DSLGrammarPart

    Permalink

    contains implicits to create dsl grammars.

    contains implicits to create dsl grammars. You won't use this directly.

Ungrouped