aboutsummaryrefslogtreecommitdiffstats
path: root/alv/base/init.moon
blob: f7eb0e220da0a0db30d9bb6144b8f7173b329a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
----
-- Base definitions for extensions.
--
-- This module exports the following classes and tables that extension modules
-- may need:
--
-- @module base
-- @see Op
-- @see PureOp
-- @see Builtin
-- @see FnDef
-- @see Input
-- @see base.match.const
-- @see base.match.sig
-- @see base.match.evt
-- @see Constant
-- @see SigStream
-- @see EvtStream
-- @see type.T
-- @see type.Primitive
-- @see type.Array
-- @see type.Struct
-- @see RTNode
-- @see Error

import Op from require 'alv.base.op'
import PureOp from require 'alv.base.pureop'
import Builtin from require 'alv.base.builtin'
import FnDef from require 'alv.base.fndef'
import Input from require 'alv.base.input'
import const, sig, evt, any from require 'alv.base.match'
import Constant, SigStream, EvtStream from require 'alv.result'
import T, Primitive, Array, Struct from require 'alv.type'
import TemplateString from require 'alv.cell'
import RTNode from require 'alv.rtnode'
import Error from require 'alv.error'

{
  :Op, :PureOp
  :Builtin
  :FnDef
  :Input
  :const, :sig, :evt, :any

  -- redundant exports, to keep anything an extension might need in one import

  -- Results
  :Constant, :SigStream, :EvtStream

  -- Types
  :T, :Primitive, :Array, :Struct

  :RTNode
  :Error

  template_subst: TemplateString.subst
}