-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.el
86 lines (76 loc) · 2.04 KB
/
project.el
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
(setq p "/home/pad/github/plan9-ml")
(setq
pad-ocaml-project-path p
pad-ocaml-project-subdirs
(split-string
"lib_core/commons
formats/objects formats/executables
assembler linker mk shell compiler macroprocessor
version_control
"
))
(setq
pad-ocaml-project-prog "linker/5l"
pad-ocaml-project-args
(join-string
(list
""
(case 3
(1 (concat p "/linker/test.5"))
(2 (concat p "/linker/helloworld.5"))
(3 (concat (concat p "/linker/hello.5") " " (concat p "/linker/world.5")))
)
)))
(setq
pad-ocaml-project-prog "mk/mk"
pad-ocaml-project-args
(join-string
(list
""
(case 2
(1 (concat "-debugger -f " (concat p "/mk/mkfile")))
(2 (concat "-debugger -f " (concat p "/mk/tests/mk-empty-var")))
(3 "-debugger -f /home/pad/plan9/windows/rio/mkfile")
)
)))
(setq
pad-ocaml-project-prog "shell/rc"
pad-ocaml-project-args
(join-string
(list
""
(case 3
(1 (concat "-debugger -test_parser " (concat p "/shell/tests/hello.rc")))
(2 (concat "-debugger -dump_opcodes"))
(3 (concat "-m " (concat p "/shell/rcmain-unix") " -i -r -dump_ast"))
)
)))
(setq
pad-ocaml-project-prog "compiler/5c"
pad-ocaml-project-args
(join-string
(list
""
(case 4
(1 (concat "-debugger -test_parser " (concat p "/compiler/tests/hello.rc")))
(2 (concat "-debugger " (concat p "/compiler/tests/helloworld.c")))
(3 (concat "-debugger -dump_asm " (concat p "/compiler/tests/pointer.c")))
(4 (concat "-debugger -dump_asm /home/pad/plan9/builders/mk/dumpers.c"))
)
)))
(setq
pad-ocaml-project-prog "version_control/ogit"
pad-ocaml-project-args
(join-string
(list
""
(case 4
(1 (concat "clone /home/pad/tmp/t1 /home/pad/tmp/t2"))
(3 "-debugger -f /home/pad/plan9/windows/rio/mkfile")
(4 (concat "test diff3 "
p "/version_control/tests/file_origin "
p "/version_control/tests/file_a "
p "/version_control/tests/file_b "
))
)
)))