|
|
@ -27,10 +27,6 @@ struct compileCommand
|
|
|
|
@ArgPositional("source file", "The source file to compile")
|
|
|
|
@ArgPositional("source file", "The source file to compile")
|
|
|
|
string sourceFile;
|
|
|
|
string sourceFile;
|
|
|
|
|
|
|
|
|
|
|
|
// @CommandRawListArg
|
|
|
|
|
|
|
|
// string[] d;
|
|
|
|
|
|
|
|
// TODO: Get array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void onExecute()
|
|
|
|
void onExecute()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
writeln("Compiling source file: "~sourceFile);
|
|
|
|
writeln("Compiling source file: "~sourceFile);
|
|
|
@ -98,8 +94,6 @@ struct parseCommand
|
|
|
|
/* TODO: Add missing implementation for this */
|
|
|
|
/* TODO: Add missing implementation for this */
|
|
|
|
void onExecute()
|
|
|
|
void onExecute()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// TODO: Add call to typechecker here
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* Read the source file's data */
|
|
|
|
/* Read the source file's data */
|
|
|
@ -143,10 +137,8 @@ struct typecheckCommand
|
|
|
|
@ArgPositional("source file", "The source file to typecheck")
|
|
|
|
@ArgPositional("source file", "The source file to typecheck")
|
|
|
|
string sourceFile;
|
|
|
|
string sourceFile;
|
|
|
|
|
|
|
|
|
|
|
|
/* TODO: Add missing implementation for this */
|
|
|
|
|
|
|
|
void onExecute()
|
|
|
|
void onExecute()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// TODO: Add call to typechecker here
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* Read the source file's data */
|
|
|
|
/* Read the source file's data */
|
|
|
|