This repository has been archived by the owner on Aug 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
_oasis
85 lines (70 loc) · 2.06 KB
/
_oasis
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Name: Hxparser
Version: 0.0.1
Synopsis: A menhir-based implementation of a parser for the Haxe language
Authors: Simon Krajewski <[email protected]>
License: MIT
Description: A menhir-based implementation of a parser for the Haxe language
Homepage: http://haxe.org
OASISFormat: 0.4
BuildTools: ocamlbuild
Plugins: META (0.4), DevFiles (0.4)
AlphaFeatures:
ocamlbuild_more_args
XOCamlbuildExtraArgs:
-no-ocamlfind
-use-menhir
-yaccflag --infer
-yaccflag --table
-yaccflag --inspection
-yaccflag --unused-tokens
-yaccflag --explain
-yaccflag --log-automaton -yaccflag 1
-ocamlopt ocamlopt.opt
Flag js
Description: Generate hxparserjs.js using js_of_ocaml
Default: false
PostBuildCommand:
cp _build/src/hxparser.native hxparser.exe
if flag(js)
PostBuildCommand: cp _build/src/hxparser.native hxparser.exe & js_of_ocaml --wrap-with-fun=embed -o hxparserjs.js _build/src/hxparserjs.byte
Executable "hxparser"
Path: src
MainIs: hxparser.ml
CompiledObject: native
BuildDepends: menhirLib,sedlex,haxe-syntax,unix,str
Executable "hxparserjs"
Path: src
MainIs: hxparserjs.ml
CompiledObject: byte
BuildDepends: menhirLib,sedlex,haxe-syntax,unix,str,js_of_ocaml
Build: false
if flag(js)
Build: true
Library "haxe-context"
Path: src/context
BuildDepends: haxe-root
Modules: Meta
Install: false
Library "haxe-root"
Path: src
Modules: Globals,Json
Install: false
Library "haxe-syntax-basic"
Path: src/syntax/basic
BuildDepends: haxe-context
Modules: AstPre,Ops,Pos
Install: false
Library "haxe-syntax-grammars"
Path: src/syntax/grammars
BuildDepends: sedlex,haxe-syntax-basic,menhirLib
Modules: Parser,ParserPre
Install: false
Library "haxe-syntax-lexing"
Path: src/syntax/lexing
BuildDepends: haxe-syntax-grammars
Modules: Lexer,Token
Library "haxe-syntax"
Path: src/syntax
BuildDepends: menhirLib,haxe-context,haxe-root,haxe-syntax-basic,haxe-syntax-lexing,haxe-syntax-grammars
Modules: ParserDriver
Install: false