Revision 633536333038 () - Diff

Link to this snippet: https://friendpaste.com/1GV1HanKMIQL55JXhxSlSa
Embed:
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd \joxa

C:\joxa>git clean -fdx
Removing .eunit/
Removing deps/
Removing ebin/
Removing joxa

C:\joxa>call c:\mozilla-build\start-msvc10.bat
"Mozilla tools directory: c:\mozilla-build\"
Visual C++ 10 Express directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
Visual C++ 11 directory: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\
Windows SDK directory: C:\Program Files (x86)\Windows Kits\8.0\
Windows SDK version: 8.0
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
ERROR: Cannot determine the location of the VS Common Tools folder.
Mozilla build environment: MSVC version 10.

couchdb@EIGHT ~
$ export PATH=$PATH:/c/werl/otp_src_R15B03-1/release/win32/bin:/c/rebar/bin

couchdb@EIGHT ~
$ rebar
No command to run specified!
Usage: rebar [-h] [-c] [-v <verbose>] [-V] [-f] [-D <defines>] [-j <jobs>] [-C <config>] [-p] [-k] [var=value,...] <comm
and,...>

-h, --help Show the program options
-c, --commands Show available commands
-v, --verbose Verbosity level (-v, -vv, -vvv, --verbose 3). Default: 0
-V, --version Show version information
-f, --force Force
-D Define compiler macro
-j, --jobs Number of concurrent workers a command may use. Default: 3
-C, --config Rebar config file to use
-p, --profile Profile this run of rebar
-k, --keep-going Keep running after a command fails
var=value rebar global variables (e.g. force=1)
command Command to run (e.g. compile)


couchdb@EIGHT ~
$ cd /c/joxa

couchdb@EIGHT /c/joxa
$ make
/c/relax/bin/rebar compile
==> cucumberl (compile)
==> getopt (compile)
==> proper (compile)
==> erlware_commons (compile)
==> joxa (compile)
make[1]: Entering directory `/c/joxa'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-util.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-util'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-path.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-path'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-ctx.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-ctx'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-peg.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-peg'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-lexer.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-lexer'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-ns.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-ns'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-call.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-call'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-literal.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-literal'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-binary.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-binary'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-special-forms.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-special-forms'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-case.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-case'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-spec.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-spec'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-expr.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-expr'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-defs.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-defs'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-joxa-info.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-joxa-info'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-checks.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-checks'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-error-format.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-error-format'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-cmp-parser.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-cmp-parser'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/ebin -pa /c/joxa/deps/cucumberl/ebin -pa /c
/joxa/deps/erlware_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin \
-s jxa_bootstrap do_bootstrap /c/joxa/ebin /c/joxa/src/ast/joxa-compiler.ast -s init stop
writing beam to dir'c:/joxa/ebin'
Module Name 'joxa-compiler'
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-core.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-shell.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-records.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-assert.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-eunit.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-lists.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-otp.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-otp-gen-server.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-sort-topo.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-concurrent-compiler.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-cc-wkr.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-build-support.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-otp-application.jxa
/c/werl/OTP_SR~2/release/win32/ERTS-5~1.1/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlwar
e_commons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-
compiler' main -extra -o /c/joxa/ebin /c/joxa/src/joxa-otp-supervisor.jxa
make[1]: Leaving directory `/c/joxa'

couchdb@EIGHT /c/joxa
$ make test && make escr

couchdb@EIGHT /c/joxa
$ dir
bash": dir: command not found

couchdb@EIGHT /c/joxa
$ l
bash": l: command not found

couchdb@EIGHT /c/joxa
$ ls
INSTALL.md Makefile build-support doc emacs features priv src
LICENSE.md README.md deps ebin examples include rebar.config test

couchdb@EIGHT /c/joxa
$ make test && make escript
/c/relax/bin/rebar compile
==> cucumberl (compile)
==> getopt (compile)
==> proper (compile)
==> erlware_commons (compile)
==> joxa (compile)
make[1]: Entering directory `/c/joxa'
make[1]: Nothing to be done for `jxa'.
make[1]: Leaving directory `/c/joxa'
/c/relax/bin/rebar skip_deps=true eunit
==> joxa (eunit)
Compiled test/jxat_try.erl
Compiled test/jxat_variable_fun_tests.erl
Compiled test/jxat_throws.erl
Compiled test/jxat_specs.erl
Compiled test/jxat_segfault_tests.erl
Compiled test/jxat_rest_args.erl
Compiled test/jxat_receive.erl
Compiled test/jxat_records.erl
Compiled test/jxat_predicates.erl
Compiled test/jxat_parse.erl
Compiled test/jxat_path.erl
Compiled test/jxat_nested_calls.erl
Compiled test/jxat_module_info.erl
Compiled test/jxat_module_fun_line_support.erl
Compiled test/jxat_peg.erl
Compiled test/jxat_let_support.erl
Compiled test/jxat_macros.erl
Compiled test/jxat_jxa_parser_proper.erl
Compiled test/jxat_implicit_do.erl
Compiled test/jxat_incremental_compile.erl
Compiled test/jxat_hello_world.erl
Compiled test/jxat_examples.erl
Compiled test/jxat_eunit.erl
Compiled test/jxat_do_test.erl
Compiled test/jxat_ctx.erl
Compiled test/jxat_featureful_module.erl
Compiled test/jxat_core_incr.erl
Compiled test/jxat_lexer.erl
Compiled test/jxat_core_add.erl
Compiled test/jxat_case.erl
Compiled test/jxat_binary.erl
Compiled test/jxat_bare_module.erl
Compiled test/jxat_anon_fun.erl
Compiled src/jxa_utils.erl
Compiled src/jxa_bootstrap.erl
Compiled test/jxat_assert.erl
:5:<0.616.0>: woo-hoo
:8:<0.616.0>: <-
:11:<0.616.0>: foo

:14:<0.616.0>: super = "super"
:17:<0.616.0>: foo: 0.000 s
All 71 tests passed.
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-bui
ld-support' main eunit /c/joxa/ebin -s init stop
Testing 'joxa-build-support'
Test passed.
Testing 'joxa-sort-topo'
All 3 tests passed.
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-bui
ld-support' main eunit /c/joxa/.eunit -s init stop
Testing jxat_anon_fun
There were no tests to run.
Testing jxat_assert
All 11 tests passed.
Testing jxat_bare_module
There were no tests to run.
Testing jxat_binary
There were no tests to run.
Testing jxat_case
There were no tests to run.
Testing jxat_core_add
Test passed.
Testing jxat_core_incr
Test passed.
Testing jxat_ctx
Test passed.
Testing jxat_do_test
Test passed.
Testing jxat_eunit
:5:<0.169.0>: woo-hoo
:8:<0.169.0>: <-
:11:<0.169.0>: foo

:14:<0.169.0>: super = "super"
:17:<0.169.0>: foo: 0.000 s
All 9 tests passed.
Testing jxat_featureful_module
There were no tests to run.
Testing jxat_hello_world
There were no tests to run.
Testing jxat_implicit_do
There were no tests to run.
Testing jxat_incremental_compile
All 2 tests passed.
Testing jxat_let_support
There were no tests to run.
Testing jxat_lexer
All 18 tests passed.
Testing jxat_macros
There were no tests to run.
Testing jxat_module_fun_line_support
There were no tests to run.
Testing jxat_module_info
There were no tests to run.
Testing jxat_nested_calls
Test passed.
Testing jxat_parse
Test passed.
Testing jxat_path
Test passed.
Testing jxat_peg
All 19 tests passed.
Testing jxat_predicates
There were no tests to run.
Testing jxat_receive
There were no tests to run.
Testing jxat_records
There were no tests to run.
Testing jxat_rest_args
There were no tests to run.
Testing jxat_segfault_tests
All 4 tests passed.
Testing jxat_specs
There were no tests to run.
Testing jxat_throws
There were no tests to run.
Testing jxat_try
There were no tests to run.
Testing jxat_variable_fun_tests
Test passed.
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-com
piler' main -extra -o /c/joxa/.eunit /c/joxa/test/joxa-test-let-match.jxa
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-com
piler' main -extra -o /c/joxa/.eunit /c/joxa/test/joxa-test-multiple-namespaces.jxa
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-com
piler' main -extra -o /c/joxa/.eunit /c/joxa/test/joxa-test-namespace-mutual-recursion.jxa
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-com
piler' main -extra -o /c/joxa/.eunit /c/joxa/test/joxa-test-joxification.jxa
/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-bui
ld-support' main proper /c/joxa/.eunit -s init stop
Testing jxat_examples:prop_seive/0
....................................................................................................
OK: Passed 100 test(s).

Testing jxat_examples:prop_fib/0
....................................................................................................
OK: Passed 100 test(s).

Testing jxat_jxa_parser_proper:prop_parser/0
....................................................................................................
OK: Passed 100 test(s).

/c/werl/otp_src_R15B03-1/release/win32/bin/erl.exe -noshell -pa /c/joxa/deps/cucumberl/ebin -pa /c/joxa/deps/erlware_c
ommons/ebin -pa /c/joxa/deps/getopt/ebin -pa /c/joxa/deps/proper/ebin -pa /c/joxa/ebin -pa /c/joxa/.eunit -s 'joxa-bui
ld-support' main cucumberl /c/joxa -s init stop
Running feature c:/joxa/features/jxat_anon_fun.feature
Feature: Joxa should support anonymous functions :1
In order to allow a developer to do functional composition :2
As a Joxa Developer :3
I want to be write a function that declares and uses an :4
unnamed anonymous function :5
:6
Scenario: Support anonymous functions :7
Given a module that has an anonymous function :8
When joxa is called on this module :9
Then a beam binary is produced :10
And the described function can be called and works correctly :11
:12

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_bare_module.feature
Feature: Joxa should be able to compile a module :1
In order to allow a developer to compile a minimal module :2
As a Joxa Developer :3
I want to be able to compile a form consisting of a single modu:4
:5
Scenario: Allow a bare module :6
Given a bare module :7
When joxa is called on this module :8
Then a beam binary is produced :9
And the joxa context for a bare module is correctly formed :10
:11

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_binary.feature
Feature: Binary patterns in case clauses :1
In order to allow a developer binary parsing and Erlang style b:2
As a Joxa Developer :3
I want to write a function that contains a case, that does bina:4
:5
Scenario: Support binary representations :6
Given a module that has a binary representatino :7
When joxa is called on this module :8
Then a beam binary is produced :9
And the described function can be called and works correctly :10
:11

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_case.feature
Feature: Complex pattern matching in case clauses :1
In order to allow a developer to make use of Erlang style patte:2
As a Joxa Developer :3
I want to write a function that includes a case statement that :4
:5
Scenario: Support pattern matching with case :6
Given a module that has a case statement :7
When joxa is called on this module :8
Then a beam binary is produced :9
And the described function can be called and works correctly :10
:11

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_featureful_module.feature
Feature: Module 'Visibility' Management :1
In order to allow a developer to build a module :2
that correctly manages internal visibilty :3
As a Joxa Developer :4
I want to Joxa to be able to compile a form consisting of a sin:5
module that uses at least one 'use', one 'require' and one 'att:6
:7
Scenario: Allow a bare module :8
Given a featureful module :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the joxa context for a featureful module is correctly for:12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_hello_world.feature
Feature: Function Calling :1
In order to allow a developer to build a module :2
that allows one function to call another :3
As a Joxa Developer :4
I want to write a function that calls another function :5
:6
Scenario: Build a hello world module :7
Given a module that has a function that calls io:format on an:8
When joxa is called on this module :9
Then a beam binary is produced :10
And the described function can be called and works correctly :11
"Hello World" :12

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_implicit_do.feature
Feature: Multiple expressions in the body of let, defn and case (:1
In order to allow a developer to more succinctly write side eff:2
using code easily :3
As a Joxa Developer :4
I want to write a function that has multiple expressions in the:5
a let, defn or case statement. :6
:7
Scenario: Support implicit do :8
Given a module that has an anonymous function :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_let_support.feature
Feature: Support Let Bindings :1
In order to allow the creation of scope bound variables :2
As a Joxa Developer :3
I want to create a function that contains 'let' bound variables:4
and have that function run correctly. :5
:6
Scenario: Build a binding module :7
Given a module that has a function that contains 'let' :8
When joxa is called on this module :9
Then a beam binary is produced :10
And the described function can be called and works correctly :11
[1,2,3,4,5] Hello World 'super-dooper' [1|2]
:12

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_macros.feature
Feature: Macro Support :1
In order to allow a developer make use of semantic macros :2
As a Joxa Developer :3
I want to create a Macro and a function that calls that macro a:4
have the function be correctly built and run using the conten:5
generated from the macro :6
:7
Scenario: Support macros in joxa with defmacro :8
Given a module that contains macros :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13
Scenario: Support reporting macro errors in defmacro :14
Given a module that contains a macro that errors :15
When joxa is called on this module :16
:8:21 *error* error during evaluation of macro 'jxat-error-macro-test'/test1/2: ({error,
'this-is-an-error',
[{'jxat-error-macro-test',
test1,2,
[{file,
[]},
{line,
5}]},
{'joxa-cmp-call',
'call-macro',
6,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-cmp-call
.jxa"},
{line,
150}]},
{'joxa-cmp-expr',
'do-function-body',
6,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-cmp-expr
.jxa"},
{line,
280}]},
{'joxa-cmp-defs',
'make-function1',
5,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-cmp-defs
.jxa"},
{line,
17}]},
{'joxa-cmp-defs',
'make-definition',
3,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-cmp-defs
.jxa"},
{line,
40}]},
{'joxa-compiler',
'internal-forms',
2,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-compiler
.jxa"},
{line,
312}]},
{'joxa-compiler',
forms,3,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-compiler
.jxa"},
{line,
322}]},
{'joxa-compiler',
forms,2,
[{file,
"/Users/emerrit/workspace/joxa/src/joxa-compiler
.jxa"},
{line,
329}]}]})
Then an error is produced :17
And that error is in the error list :18
:19

2 scenarios
8 steps

Running feature c:/joxa/features/jxat_module_fun_line_support.feature
Feature: Compile Time Information :1
In order to allow a developer to have access to context :2
information at compile time :3
As a Joxa Developer :4
I want to be able to call the functions (module) (function) (li:5
them evaluate to the correct result :6
:7
Scenario: Write a function that evaluates to the module name :8
Given a module that has a function that calls module :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function returns the name of the module :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_module_info.feature
Feature: Module Introspection :1
In order to allow Joxa modules to advertise thier features :2
As a Joxa Developer :3
I want to create a module, and then query that module about wha:4
macros, and &rest arguments it support :5
:6
Scenario: Support getting context :7
Given a module that has a require and use :8
When joxa info is called on this module :9
Then context is produced :10
And context contains the required information :11
:12

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_predicates.feature
Feature: Conditionals :1
In order to allow more expressive conditional syntax :2
As a Joxa Developer :3
I want to write a function that has an if, a when, and an 'unle:4
And have that function correctly execute based on the condition:5
defined :6
:7
Scenario: Support predicate operations :8
Given a module that has a predicates :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_receive.feature
Feature: Message Receive Expression :1
In order to support receiving messages sent to a process (a cri:2
feature in Erlang or Joxa) :3
As a Joxa Developer :4
I want Joxa to create to create two processes, one of which :5
sends a message to the other, which succesfully receives tha:6
:7
Scenario: Support the receive expression :8
Given a module that has a receive clause :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_records.feature
Feature: Lisp Style Records :1
In order to allow a developer to define records of his own :2
And interact easily with existing native erlang records :3
As a Joxa Developer :4
I want to Joxa to want to define records with a more intuitive :5
be able to access those records in patterns and accessors and:6
records defined in erlang. :7
:8
Scenario: Support records :9
Given a module that has defined records :10
And another module uses those records :11
When joxa is called on these modules :12
Then a beam binary is produced for both :13
And the described function can be called and works correctly :14
:15

1 scenarios
5 steps

Running feature c:/joxa/features/jxat_rest_args.feature
Feature: &rest Args :1
In order to allow a developer have &rest args :2
As a Joxa Developer :3
I want to write a function that has &rest args, :4
write a function that calls that function with variable argume:5
and have the callee recieve the 'list' of arguments as expecte:6
:7
Scenario: Support varargs in joxa :8
Given a module that has rest arguments :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_specs.feature
Feature: Type declarations :1
In order to be able to document and define types :2
and allow functions to be pre-declared :3
As a Joxa Developer :4
I want to specify a type in a function and have the compiler :5
correctly compile the code into a form usable by ERTS :6
:7
Scenario: Support type specs :8
Given a module that declares types :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_throws.feature
Feature: Throwing Exceptions :1
In order to allow a developer to raise exceptions for exception:2
And interact with normal exception throwing of erlang systems :3
As a Joxa Developer :4
I want to throw an exception that successfully propogates :5
up the stack to the test handling code :6
:7
Scenario: Support exceptions :8
Given a module that catches an exception :9
When joxa is called on this module :10
Then a beam binary is produced :11
And the described function can be called and works correctly :12
:13

1 scenarios
4 steps

Running feature c:/joxa/features/jxat_try.feature
Feature: Try exception handling expression :1
In order to allow a developer to handle exceptions :2
As a Joxa Developer :3
I want to support to throw an exception that is :4
successfully caught with a try expression :5
:6
Scenario: Build a try expression :7
Given a module that has a function that contains 'try' :8
When joxa is called on this module :9
Then a beam binary is produced :10
And the described function can be called and works correctly :11
:12

1 scenarios
4 steps

/c/relax/bin/rebar compile
==> cucumberl (compile)
==> getopt (compile)
==> proper (compile)
==> erlware_commons (compile)
==> joxa (compile)
make[1]: Entering directory `/c/joxa'
make[1]: Nothing to be done for `jxa'.
make[1]: Leaving directory `/c/joxa'
/c/relax/bin/rebar skip_deps=true escriptize
==> joxa (escriptize)

couchdb@EIGHT /c/joxa
$