From 6b9c8b7d78ca65229f132693b6ef7c89bf4f1ba5 Mon Sep 17 00:00:00 2001 From: WilliamRagstad <41281398+WilliamRagstad@users.noreply.github.com> Date: Fri, 6 Aug 2021 09:59:35 +0200 Subject: [PATCH] Correct versions --- Cli.java | 3 +-- Repl.java | 3 +-- Runner.java | 1 - core/Atom.java | 1 - core/Expr.java | 1 - core/Interpreter.java | 4 +--- core/Parser.java | 3 +-- core/Token.java | 3 +-- core/Tokenizer.java | 3 +-- 9 files changed, 6 insertions(+), 16 deletions(-) diff --git a/Cli.java b/Cli.java index a2d5993..f3a49f3 100644 --- a/Cli.java +++ b/Cli.java @@ -3,7 +3,6 @@ /** * @author William Rågstad - * @version 0.1.0 * * The CLI is a simple command line interface for the RustScript * language. It provides a simple way to run RustScript script files @@ -12,7 +11,7 @@ * languages like JavaScript, C++ or Python. */ public class Cli { - private static final String VERSION = "0.1.0"; + private static final String VERSION = "2.1.0"; private static final String DESCRIPTION = "A command line interface tool for the RustScript language."; private static final String COPYRIGHT = "Copyright (c) 2021 William Rågstad"; private static final String HELP = String.format(""" diff --git a/Repl.java b/Repl.java index 8bcaf08..51dbeee 100644 --- a/Repl.java +++ b/Repl.java @@ -5,8 +5,7 @@ import java.util.NoSuchElementException; /** - * @author William Rågstad - * @version 0.1.0 + * @author Mikail Khan , William Rågstad * * The REPL program lets you interact with the RustScript programming * language and run commands as you go. diff --git a/Runner.java b/Runner.java index ce649c9..0c5e117 100644 --- a/Runner.java +++ b/Runner.java @@ -10,7 +10,6 @@ /** * @author William Rågstad - * @version 0.1.0 * * The Runner takes a set of input source code files as command line * argument, and interprets them by expression. Even if one file fails diff --git a/core/Atom.java b/core/Atom.java index 631d18a..8a0b454 100644 --- a/core/Atom.java +++ b/core/Atom.java @@ -5,7 +5,6 @@ /** * @author Mikail Khan - * @version 0.1.0 * * An Atom is any discrete variable, literal or not * diff --git a/core/Expr.java b/core/Expr.java index bcbab01..bded1bf 100644 --- a/core/Expr.java +++ b/core/Expr.java @@ -5,7 +5,6 @@ /** * @author Mikail Khan - * @version 0.1.0 * * An expression, the AST of this language. * diff --git a/core/Interpreter.java b/core/Interpreter.java index a5b3e36..eadd24a 100644 --- a/core/Interpreter.java +++ b/core/Interpreter.java @@ -5,9 +5,7 @@ import java.util.Scanner; /** - * @author Mikail Khan & William Rågstad - * - * @version 0.1.0 + * @author Mikail Khan , William Rågstad * * Because this is an expression based language we don't need to deal * with complicated scoping and whatnot. This keeps the interpreter diff --git a/core/Parser.java b/core/Parser.java index 94a848d..b7f5ba4 100644 --- a/core/Parser.java +++ b/core/Parser.java @@ -5,8 +5,7 @@ import core.Expr.MatchCaseExpr; /** - * @author Mikail Khan - * @version 0.1.0 + * @author Mikail Khan , William Rågstad * * A Parser takes a String, tokenizes it using a Tokenizer, and then * converts the flat list of tokens into a meaningful Expr AST which diff --git a/core/Token.java b/core/Token.java index ccaf52f..8b6b36b 100644 --- a/core/Token.java +++ b/core/Token.java @@ -1,8 +1,7 @@ package core; /** - * @author Mikail Khan - * @version 0.1.0 + * @author Mikail Khan , William Rågstad * * A token * diff --git a/core/Tokenizer.java b/core/Tokenizer.java index b567d89..0c5afbf 100644 --- a/core/Tokenizer.java +++ b/core/Tokenizer.java @@ -3,8 +3,7 @@ import java.util.ArrayList; /** - * @author Mikail Khan - * @version 0.1.0 + * @author Mikail Khan , William Rågstad * * The Tokenizer takes a String and turns it into a flat list of * Tokens.