From 505764b8bb6c25957040921cc74d46a31489aee2 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Tue, 2 Mar 2021 21:14:23 +0200 Subject: [PATCH] Added directory structure --- source/{ => tlang}/app.d | 2 ++ source/tlang/commandline/args.d | 8 ++++++++ source/tlang/compiler/compiler.d | 6 ++++++ 3 files changed, 16 insertions(+) rename source/{ => tlang}/app.d (92%) create mode 100644 source/tlang/commandline/args.d create mode 100644 source/tlang/compiler/compiler.d diff --git a/source/app.d b/source/tlang/app.d similarity index 92% rename from source/app.d rename to source/tlang/app.d index ed5204e8..2a818997 100644 --- a/source/app.d +++ b/source/tlang/app.d @@ -6,6 +6,8 @@ * SHOT! */ +module tlang; + import std.stdio; void main() diff --git a/source/tlang/commandline/args.d b/source/tlang/commandline/args.d new file mode 100644 index 00000000..391c0495 --- /dev/null +++ b/source/tlang/commandline/args.d @@ -0,0 +1,8 @@ +module commandline.args; + +import jcli; + +void parseCommandLine(string[] args) +{ + /* TODO: Parse command-line options here */ +} \ No newline at end of file diff --git a/source/tlang/compiler/compiler.d b/source/tlang/compiler/compiler.d new file mode 100644 index 00000000..d645a8b8 --- /dev/null +++ b/source/tlang/compiler/compiler.d @@ -0,0 +1,6 @@ +module compiler.compiler; + +void beginCompilation() +{ + /* TODO: Begin compilation process, take in data here */ +} \ No newline at end of file