class Compiler extends Program

an example backend that transforms a LogicSyntax L into the SML code that represents and validates L-theories

Source
Compiler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Compiler
  2. Program
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Compiler(log: LogicSyntax)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(d: DECL): Unit

    adds a declaration merges consecutive ADT's and FUNCTION's into ADTRec and FUNCTIONRec

    adds a declaration merges consecutive ADT's and FUNCTION's into ADTRec and FUNCTIONRec

    Attributes
    protected
    Definition Classes
    Program
  5. def addTag(key: String): Unit
    Definition Classes
    Program
  6. val app: ID
  7. def argsToEXP(args: List[CatRef]): List[EXP]
  8. def argsToStringWithID(args: List[CatRef]): String
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val axiom_from_pt: ID
  11. val axioms: ID
  12. val bind: ID
  13. val cats: List[Unit]
  14. def check: Unit

    checks this program

    checks this program

    Definition Classes
    Program
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  16. val decl: ID
  17. val decl_from_pt: ID
  18. val declfrompt: EXP
  19. val decls: List[Unit]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. val error: ID
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def get: List[DECL]

    returns the list of declarations in declaration-order consecutive ADT's and FUNCTION's are merged into ADTRec and FUNCTIONRec

    returns the list of declarations in declaration-order consecutive ADT's and FUNCTION's are merged into ADTRec and FUNCTIONRec

    Definition Classes
    Program
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def getLabels(): List[String]
    Definition Classes
    Program
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. val id: ID
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. val morphism: ID
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val ofdecls: List[CONS]
  35. def parse(c: CatRef, a: EXP): APPLY
  36. val parsefuncs: List[Unit]
  37. def printIn(fl: FuncLang[String]): String
    Definition Classes
    Program
  38. val sign: ID
  39. val sign_from_pt: ID
  40. val sigs: ID
  41. val sname: ID
  42. val source: ID
  43. val symb: ID
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. val target: ID
  46. val tbind: ID
  47. val theo: ID
  48. val theo_from_pt: ID
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. val tree: ID
  51. val varr: ID
  52. val vrb: ID
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  56. object lf
  57. object declare

    a helper object for conveniently adding declarations via val declare(names: Seq[ID]) = (d: DECL) This adds d to the list of declarations and binds names to the ID's declared by d.

    a helper object for conveniently adding declarations via val declare(names: Seq[ID]) = (d: DECL) This adds d to the list of declarations and binds names to the ID's declared by d. The length of names must be equal to the list of introduced names. Most declarations introduce exactly one name; ADT and RECORD declarations introduce n+1 names: first the type name, then the list of constructors/fields.

    Attributes
    protected
    Definition Classes
    Program

Inherited from Program

Inherited from AnyRef

Inherited from Any

Ungrouped