summary refs log tree commit diff stats
path: root/tests/modules
Commit message (Expand)AuthorAgeFilesLines
* new language feature: explicit 'import system' statements are allowedAndreas Rumpf2016-07-071-0/+9
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-1/+1
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-048-21/+21
* Fixes #2584Dominik Picheta2015-06-041-4/+4
* Fix tests a bit moredef2015-03-102-4/+4
* cleaned up some testsAraq2015-02-1011-0/+89
* Clean up tests/modulesdef2015-02-041-2/+2
* fixes #1612Araq2014-11-063-1/+6
* Merge pull request #1589 from Varriount/fix-1561Andreas Rumpf2014-11-021-0/+9
|\
| * Fix #1561Varriount2014-10-291-0/+9
* | updated the testAraq2014-10-313-0/+16
|/
* fixes #1029Araq2014-10-221-0/+3
* fixes 'import x as y' regressionAraq2014-10-221-1/+2
* Added test caseSimon Krauter2014-10-151-0/+8
* new tester; all tests categorizedAraq2014-01-134-0/+35
lt&id=d9d9ab813cd533353fc273ca7780833c562f7e7a'>d9d9ab81 ^
099f0d5d ^
e97b446a ^
099f0d5d ^
418ea7d3 ^
dac83357 ^
e97b446a ^
4fe73d47 ^
dac83357 ^
4fe73d47 ^
a03bbc82 ^
dac83357 ^
a03bbc82 ^

dac83357 ^
a03bbc82 ^

dac83357 ^
a03bbc82 ^

dac83357 ^
a03bbc82 ^
531f14c9 ^

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
         

                                                                          

                 
                                                        

                                                              







                                                                             


                                           
 
       
 


                                                        
              
                                                       
 
               
                                                        
 
              
                                                       
 
                
                                                         
 
               

                                                        
             

                                                      
               

                                                        
            
                                                     

              
#!/bin/sh
# Translate SubX by running the self-hosted translator in emulated mode on
# Linux or BSD or Mac.
#
# Possible knobs:
#   Whether to run a phase natively or in emulated mode.
#     Just always emulate for now since we debug on non-Linux.
#   Whether to stop after a phase.
#     Just always run all phases, but print out phases so it's clear where an
#     error happens.
#   Whether to trace a phase. Whether to always trace or rerun with tracing
#   enabled after an error.
#     Leave tracing to other scripts. We save intermediate files so it's easy
#     to rerun a single phase afterwards.
#   Whether to run a phase with debug information. (Need to juggle multiple
#   sets of debug files.)
#     Again, that's for subsequent scripts.

set -e

./build

echo "  braces"
cat $*          |./subx_bin run apps/braces   > a.braces

echo "  calls"
cat a.braces    |./subx_bin run apps/calls    > a.calls

echo "  sigils"
cat a.calls     |./subx_bin run apps/sigils   > a.sigils

echo "  tests"
cat a.sigils    |./subx_bin run apps/tests    > a.tests

echo "  dquotes"
cat a.tests     |./subx_bin run apps/dquotes  > a.dquotes

echo "  assort"
cat a.dquotes   |./subx_bin run apps/assort   > a.assort

echo "  pack"
cat a.assort    |./subx_bin run apps/pack     > a.pack

echo "  survey"
cat a.pack      |./subx_bin run apps/survey   > a.survey

echo "  hex"
cat a.survey    |./subx_bin run apps/hex      > a.elf

chmod +x a.elf