Skip to content

Commit 8a19f60

Browse files
committedFeb 11, 2020
Move implementations into impls/ dir
- Reorder README to have implementation list after "learning tool" bullet. - This also moves tests/ and libs/ into impls. It would be preferrable to have these directories at the top level. However, this causes difficulties with the wasm implementations which need pre-open directories and have trouble with paths starting with "../../". So in lieu of that, symlink those directories to the top-level. - Move the run_argv_test.sh script into the tests directory for general hygiene.
1 parent 8886941 commit 8a19f60

File tree

2,143 files changed

+395
-370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,143 files changed

+395
-370
lines changed
 

‎.gitignore

+3-130
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.cargo
55
.config
66
.mal-history
7+
.mal_history
78
.crystal
89
.lein
910
.m2
@@ -12,138 +13,10 @@
1213
.npm
1314
.node-gyp
1415
package-lock.json
15-
.elm
1616
*/experiments
17-
*/node_modules
18-
*.o
19-
*.pyc
20-
*/step0_repl
21-
*/step1_read_print
22-
*/step2_eval
23-
*/step3_env
24-
*/step4_if_fn_do
25-
*/step5_tco
26-
*/step6_file
27-
*/step7_quote
28-
*/step8_macros
29-
*/step9_try
30-
*/stepA_mal
31-
*/mal
17+
node_modules
3218
*/notes
3319

3420
logs
3521
old
36-
37-
ada/obj/
38-
awk/mal.awk
39-
bash/mal.sh
40-
clojure/mal.jar
41-
clojure/target
42-
clojure/.lein-repl-history
43-
coffee/mal.coffee
44-
cs/*.exe
45-
cs/*.dll
46-
cs/*.mdb
47-
d/*.o
48-
elixir/_build
49-
elixir/deps
50-
elixir/erl_crash.dump
51-
elixir/*.ez
52-
erlang/ebin
53-
erlang/.rebar
54-
erlang/src/*.beam
55-
es6/mal.js
56-
es6/.esm-cache
57-
factor/mal.factor
58-
fantom/lib
59-
forth/mal.fs
60-
fsharp/*.exe
61-
fsharp/*.dll
62-
fsharp/*.mdb
63-
go/step*
64-
groovy/*.class
65-
groovy/mal.jar
66-
haskell/*.hi
67-
haskell/*.o
68-
haxe/*.n
69-
haxe/*.py
70-
haxe/cpp/
71-
haxe/*.js
72-
java/mal.jar
73-
java/target/
74-
java/dependency-reduced-pom.xml
75-
.npm/
76-
.node-gyp/
77-
js/mal.js
78-
js/web/mal.js
79-
kotlin/*.jar
80-
kotlin/.idea
81-
kotlin/*.iml
82-
lua/lib
83-
lua/linenoise.so
84-
lua/mal.lua
85-
make/mal.mk
86-
mal/mal.mal
87-
matlab/octave-workspace
88-
miniMAL/mal.json
89-
nim/nimcache*
90-
objc/*.d
91-
ocaml/*.cmi
92-
ocaml/*.cmo
93-
ocaml/*.swp
94-
ocaml/*.cmx
95-
ocaml/*.o
96-
ocaml/mal_lib.*
97-
objpascal/*.o
98-
objpascal/*.ppu
99-
objpascal/pas-readline
100-
objpascal/regexpr/Source/RegExpr.ppu
101-
perl/mal.pl
102-
perl6/.precomp/
103-
php/mal.php
104-
php/mal-web.php
105-
ps/mal.ps
106-
python/mal.pyz
107-
r/mal.r
108-
ruby/mal.rb
109-
.cargo/
110-
rust/target/
111-
rust/Cargo.lock
112-
rust/.cargo
113-
r/lib
114-
scala/mal.jar
115-
scala/target
116-
scala/project
117-
skew/*.js
118-
tcl/mal.tcl
119-
vb/*.exe
120-
vb/*.dll
121-
vimscript/mal.vim
122-
clisp/*.fas
123-
clisp/*.lib
124-
basic/step0_repl.bas
125-
basic/step1_read_print.bas
126-
basic/step2_eval.bas
127-
basic/step3_env.bas
128-
basic/step4_if_fn_do.bas
129-
basic/step5_tco.bas
130-
basic/step6_file.bas
131-
basic/step7_quote.bas
132-
basic/step8_macros.bas
133-
basic/step9_try.bas
134-
basic/stepA_mal.bas
135-
basic/*.prg
136-
common-lisp/*.fasl
137-
common-lisp/*.lib
138-
common-lisp/images/*
139-
common-lisp/hist/*
140-
livescript/*.js
141-
!livescript/node_readline.js
142-
livescript/node_modules
143-
elm/node_modules
144-
elm/elm-stuff
145-
elm/*.js
146-
!elm/node_readline.js
147-
!elm/bootstrap.js
148-
wasm/*.wat
149-
wasm/*.wasm
22+
tmp/

‎.travis_test.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ IMPL=${2}
77

88
# Environment variable configuration
99
BUILD_IMPL=${BUILD_IMPL:-${IMPL}}
10-
TEST_OPTS="${TEST_OPTS} --debug-file ../${ACTION}.err"
10+
TEST_OPTS="${TEST_OPTS} --debug-file ../../${ACTION}.err"
1111

1212
if [ "${DO_SELF_HOST}" ]; then
1313
MAL_IMPL=${IMPL}
@@ -55,9 +55,9 @@ build)
5555
# rpython often fails on step9 in compute_vars_longevity
5656
# so build step9, then continue with the full build
5757
if [ "${BUILD_IMPL}" = "rpython" ]; then
58-
${MAKE} -C "${BUILD_IMPL}" step9_try || true
58+
${MAKE} -C "impls/${BUILD_IMPL}" step9_try || true
5959
fi
60-
${MAKE} -C ${BUILD_IMPL}
60+
${MAKE} -C "impls/${BUILD_IMPL}"
6161
;;
6262
test|perf)
6363
[ "${ACTION}" = "perf" ] && STEP=

0 commit comments

Comments
 (0)
Please sign in to comment.