summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authormrogalski <interesting.ones.are.already.taken@gmail.com>2016-05-11 07:47:15 +0200
committermrogalski <interesting.ones.are.already.taken@gmail.com>2016-05-11 07:47:15 +0200
commitd8ac7b66fcca3d9984a461b38676e3c103b1fb77 (patch)
tree265a41741b7cd3bc10d8a430adbc928d23fcf517 /ranger
parent8e8068935b78ca594d0b8ea7c729b4b9e8967456 (diff)
downloadranger-d8ac7b66fcca3d9984a461b38676e3c103b1fb77.tar.gz
`draw_progress_bar_in_statusbar' does not exist
Diffstat (limited to 'ranger')
0 files changed, 0 insertions, 0 deletions
102'>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
re>
         
                                                             
 








                                                                              
 






                                                                              


      


                                             
 
                                                       

              
#!/bin/sh
# Translate given SubX files with debug information on Linux.
#
# Mu provides 3 canonical ways to translate unsafe SubX programs:
#   0. The C++ translator 'bootstrap translate' can generate traces for
#   debugging on Linux or BSD or Mac, but doesn't support any syntax sugar.
#   1. The self-hosted translator can be run natively on Linux using
#   'translate_subx'. It is fast and supports all syntax sugar, but you get no
#   trace for debugging.
#   2. The self-hosted translator can be run emulated on Linux or BSD or Mac
#   using 'translate_subx_emulated'. It supports all syntax sugar. However, it
#   can be slow if you generate traces.
#
# This script fills in the gap above by stitching together aspects from
# multiple approaches. It translates syntax sugar natively, but emulates lower
# levels using the C++ translator. The result is complete and relatively fast
# even when generating traces.
#
# The cost: it needs Linux. There is no script to generate traces while
# running emulated on BSD or Mac. That's often impractically slow.

set -e

cat $*          |./braces          > a.braces
cat a.braces    |./calls           > a.calls
cat a.calls     |./sigils          > a.sigils

bootstrap/bootstrap --debug translate a.sigils -o a.elf

chmod +x a.elf