Refactor, add extensive README.md, add future planning

This commit is contained in:
2020-05-13 00:32:28 +02:00
parent 63fd73f98c
commit 9002db40aa
26 changed files with 666 additions and 226 deletions

13
bin/run_program Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env php7.4
<?php
require_once __DIR__ . '/../vendor/autoload.php';
if (!isset($argv[1])) {
print("Usage: bin/run_program <program number>\n");
exit(1);
}
$CNC6600 = require_once __DIR__ . '/bootstrap.php';
$CNC6600->loadProgram($argv[1]);
$CNC6600->execute();