]> git.lizzy.rs Git - metalua.git/blob - metalua/compiler/bytecode.lua
Merge branch 'master' of ssh://git.eclipse.org/gitroot/koneki/org.eclipse.koneki...
[metalua.git] / metalua / compiler / bytecode.lua
1 --------------------------------------------------------------------------------
2 -- Copyright (c) 2006-2013 Fabien Fleutot and others.
3 --
4 -- All rights reserved.
5 --
6 -- This program and the accompanying materials are made available
7 -- under the terms of the Eclipse Public License v1.0 which
8 -- accompanies this distribution, and is available at
9 -- http://www.eclipse.org/legal/epl-v10.html
10 --
11 -- This program and the accompanying materials are also made available
12 -- under the terms of the MIT public license which accompanies this
13 -- distribution, and is available at http://www.lua.org/license.html
14 --
15 -- Contributors:
16 --     Fabien Fleutot - API and implementation
17 --
18 --------------------------------------------------------------------------------
19
20 local compile = require 'metalua.compiler.bytecode.compile'
21 local ldump   = require 'metalua.compiler.bytecode.ldump'
22
23 local M = { }
24
25 M.ast_to_proto      = compile.ast_to_proto
26 M.proto_to_bytecode = ldump.dump_string
27 M.proto_to_file     = ldump.dump_file
28
29 return M