about summary refs log tree commit diff stats
path: root/test_apps
Commit message (Collapse)AuthorAgeFilesLines
* 7448Kartik Agaram2020-12-281-0/+9
|
* 7443Kartik Agaram2020-12-281-0/+17
| | | | | A new phase for baremetal compilations. Doesn't work yet, but it passes all its tests, so we can add it to CI.
* 7442Kartik Agaram2020-12-281-0/+5
|
* 7439 - start translating Mu programs to baremetalKartik Agaram2020-12-281-2/+2
|
* 7401 - clean up support for non-Linux platformsKartik Agaram2020-12-251-128/+116
|
* 7400Kartik Agaram2020-12-251-3/+0
| | | | | Turns out the default 8MB stack is quite enough for the programs I'm currently running.
* 7109Kartik Agaram2020-10-251-2/+2
| | | | | | | | | | | | | | | | | | | Turns out I've been including some unnecessary files when building apps/mu! Treeshaken stats before: LoC 26258 => 9717 LoC including common libraries: 29736 => 12719 binary size: 406K => 79K After: LoC 26258 => 9717 LoC including common libraries: 28322 => 12370 binary size: 406K => 77K So our treeshaking isn't perfect. No surprise there.. The treeshaken build also starts to fail without the one-liner change to mu.subx, which looks like a bug in the treeshaker.
* 6618 - new docsKartik Agaram2020-07-061-13/+2
|
* 6612 - reorganize layersKartik Agaram2020-07-051-10/+10
|
* 6527 - increase stack limitsKartik Agaram2020-06-151-0/+3
| | | | | | We haven't run into this limit yet, but everytime I see a 'stream overflow' error I run into it while going over all the knobs in apps/subx-params.subx, if I increase Input-size (used by survey.subx) too much.
* 6395Kartik Agaram2020-05-241-0/+2
|
* 6394 - a catastrophic bugKartik Agaram2020-05-241-0/+13
| | | | | | | How did new-literal ever work?! Somehow we had eax silently being clobbered without affecting behavior over like 5 apps. Unsafe languages suck. Anyways, factorial.mu is now part of CI.
* 6393 - start running .mu apps in CIKartik Agaram2020-05-241-0/+57
|
* 6385Kartik Agaram2020-05-231-4/+4
|
* 6382 - re-enable mu.subx in CIKartik Agaram2020-05-221-4/+4
| | | | | | | | | | | I thought I'd done this in the previous commit, but I hadn't. And, what's more, there was a bug that seemed pretty tough for a time. Turns out my self-hosted translator doesn't support '.' comment tokens in data segments. Hopefully I'm past the valley of the shadow of death now. "I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS." -- James Mickens (https://www.usenix.org/system/files/1311_05-08_mickens.pdf)
* handles don't seem to have slowed down test_appsKartik Agaram2020-05-221-4/+4
| | | | | | At least the non-native first phase which takes longer. But maybe a shorter baseline is the right thing to check. I need to resize some buffers to get Mu natively translating again.
* mu.subx: start tracking remaining failing testsKartik Agaram2020-05-201-12/+12
| | | | We're now passing CI again.
* all syntax sugar now workingKartik Agaram2020-05-181-60/+60
| | | | | | | | I just needed to adjust row-sizes when accessing the Registers table. This commit dedicated to a fun hour on https://hn.town.siempre.io. Thanks Cyrus! (via https://news.ycombinator.com/item?id=22818300)
* core translator phases now emit identical binariesKartik Agaram2020-05-181-2/+2
|
* Rebuild phases of self-hosted SubX translatorKartik Agaram2020-05-181-23/+23
| | | | For this one commit we need to bootstrap ourselves with subx_translate_debug.
* assort.subx now workingKartik Agaram2020-05-181-1/+1
|
* dquotes.subx now workingKartik Agaram2020-05-181-1/+1
|
* tests.subx now workingKartik Agaram2020-05-181-34/+34
|
* apps that currently workKartik Agaram2020-05-181-68/+68
| | | | | | | | | | | | | | | | | | | | Here are the obvious dependencies of different apps: allocate: mu slice-to-string: mu survey new-stream: mu assort dquotes tests get-or-insert-slice: mu survey assort get-or-insert: mu survey So we'll get these working in the following order: tests dquotes assort survey It doesn't look like sigils uses any functions with modified signatures, but it doesn't work at the moment. Let's get the core self-hosted passes working first before we look at syntax sugar. examples -> self-hosted passes -> syntax sugar -> mu
* table primitives workingKartik Agaram2020-05-181-15/+1
| | | | $ ./translate_subx init.linux 0*.subx && ./a.elf test
* 6213Kartik Agaram2020-04-261-0/+2
| | | | Some minor tweaks while preparing presentation to Mek's Junto group.
* 6183Kartik Agaram2020-04-031-1/+1
| | | | Bugfix in CI setup.
* 6088 - start using setCC instructionsKartik Agaram2020-03-061-0/+12
|
* 5890Kartik Agaram2020-01-141-2/+2
|
* 5887 - reorganize libraryKartik Agaram2020-01-141-7/+14
| | | | | | | Layers 0-89 are used in self-hosting SubX. Layers 90-99 are not needed for self-hosting SubX, and therefore could use transitional levels of syntax sugar. Layers 100 and up use all SubX syntax sugar.
* 5865Kartik Agaram2020-01-021-44/+44
| | | | Give the bootstrap C++ program a less salient name.
* 5856Kartik Agaram2020-01-011-52/+52
|
* 5851Kartik Agaram2020-01-011-4/+4
| | | | | | | | | | | | Rename a few scripts to be more consistent. I'm also starting to feel the urge to bud off `subx run` into its own program, say tools/emulate_x86. It doesn't really rely on the SubX notation at all. And then I could rename `subx translate` to `translate_subx_bootstrap`. Only problem: the commands in the Readme get verbose. But the Readme is gonna need surgery soon anyway to put translate_mu front and center.
* 5829Kartik Agaram2019-12-261-5/+15
|
* 5761Kartik Agaram2019-11-261-1/+1
|
* 5739Kartik Agaram2019-11-101-0/+8
| | | | Add mu.subx to CI.
* 5677Kartik Agaram2019-09-191-6/+12
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-85/+23
| | | | | | | | | | | | | | | | This undoes 5672 in favor of a new plan: Layers 000 - 099 are for running without syntax sugar. We use them for building syntax-sugar passes. Layers 100 and up are for running with all syntax sugar. The layers are arranged in approximate order so more phases rely on earlier layers than later ones. I plan to not use intermediate syntax sugar (just sigils without calls, or sigils and calls without braces) anywhere except in the specific passes implementing them.
* 5672 - move hex out of appsKartik Agaram2019-09-191-2/+6
|
* 5666 - start of sugar for structured control flowKartik Agaram2019-09-191-8/+19
|
* 5665Kartik Agaram2019-09-191-1/+2
| | | | | | | | | The core library is a mess right now, because it can't use syntax sugar. I need some way to tier the library so that later layers can use syntax sugar, but without adding cognitive load. A shell pipeline is pretty, but maybe I need to drop it. Just add functions to layers. Get all of the translator out of the apps/ sub-directory.
* 5650 - support a second OS: sosoKartik Agaram2019-09-141-27/+29
| | | | | | | | | https://github.com/ozkl/soso + Much smaller than Linux; builds instantly + Supports graphics - No network support - Doesn't work on a cloud server (yet?)
* 5647 - experimental support for swapping OSKartik Agaram2019-09-111-27/+27
|
* 5631 - syntax for calls starting to work!Kartik Agaram2019-09-061-1/+12
| | | | Now added to CI.
* 5594 - rename 'desugar' to 'sigils'Kartik Agaram2019-08-311-6/+6
| | | | There's going to be multiple forms of syntax sugar going forward.
* 5585Kartik Agaram2019-08-251-113/+21
|
* Merge branch 'master' into desugarKartik Agaram2019-08-251-117/+191
|\
| * 5515Kartik Agaram2019-08-141-22/+22
| | | | | | | | Drop a bash-ism.
| * 5514 - disable emulated runs on LinuxKartik Agaram2019-08-141-60/+133
| |
| * 5513Kartik Agaram2019-08-141-22/+22
| |
n1059'>1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342