diff --git a/Changelog.txt b/Changelog.txt index bcdbc24..ad75537 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -3,8 +3,11 @@ CHANGELOG - What's new? See the GitHub releases for more detailed info: https://github.com/Uralstech/ezrSquared/releases +* ezr² RE - v0.8.1 [01-11-24] + * Fixed shell printouts. + * ezr² RE - v0.8.0 [01-11-24] - * Added built-ins for `EzrString`, `EzrArray`, `EzrList`, `EzrDictionary` and `EzrCharacterList`. + * Added some built-ins for `EzrString`, `EzrArray`, `EzrList`, `EzrDictionary` and `EzrCharacterList`. * ezr² RE - v0.7.0 [01-11-24] * Added slightly jank implementation of EKAs for C# source wrappers. diff --git a/README.md b/README.md index 57e3428..bc8840c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# The `ezr²` Programming Language -**ezr², or ezrSquared when you can't use the `²` symbol (or it's too inconvenient) - is an easy to learn and practical interpreted programming language for beginners and experts alike made in C#!** +# The ezr² Programming Language +[![ezr² on NuGet](https://img.shields.io/nuget/v/ezrSquared?label=NuGet)](https://www.nuget.org/packages/ezrSquared) -More information, documentation and the reference manual for ezr² is available at ******! +**ezr², or ezrSquared when you can't use the ² symbol (or it's too inconvenient) - is an easy to learn and practical interpreted programming language for beginners and experts alike made in C#!** -ezr² is now up on NuGet! Check it out [***here!***](https://www.nuget.org/packages/ezrSquared/) +More information, documentation and the reference manual for ezr² is available at ******! ## What's the 'ezrSquared-re' branch? ezr² is being rewritten from the ground up! Expect more features, better performance and better code documentation! diff --git a/src/EzrSquared.csproj b/src/EzrSquared.csproj index 1b8fc4d..e324df6 100644 --- a/src/EzrSquared.csproj +++ b/src/EzrSquared.csproj @@ -28,7 +28,7 @@ ezr² Portable Library The ezr² programming language, as a portable class library! This can be used to integrate ezr² as an embedded scripting language in your apps, websites and more! - 0.8.0-unstable + 0.8.1-unstable Udayshankar Ravikumar URAV ADVANCED LEARNING SYSTEMS PRIVATE LIMITED diff --git a/src/Shell/EzrShell.cs b/src/Shell/EzrShell.cs index c897cbe..e7ec3c5 100644 --- a/src/Shell/EzrShell.cs +++ b/src/Shell/EzrShell.cs @@ -12,7 +12,7 @@ namespace EzrSquaredCli; /// internal class Shell { - private const string Version = "0.8.0"; + private const string Version = "0.8.1"; private static bool s_showLexerOutput; private static bool s_showParserOutput; @@ -107,7 +107,7 @@ private static void ExecuteFile() private static void InteractiveMode() { - if (Console.WindowWidth > 100) + if (Console.WindowWidth > 110) EzrShellConsoleHelper.PrintBigConsoleGraphics(Version); else EzrShellConsoleHelper.PrintSmallConsoleGraphics(Version); diff --git a/src/Shell/EzrShellConsoleHelper.cs b/src/Shell/EzrShellConsoleHelper.cs index e272d86..84f6134 100644 --- a/src/Shell/EzrShellConsoleHelper.cs +++ b/src/Shell/EzrShellConsoleHelper.cs @@ -7,7 +7,7 @@ internal static class EzrShellConsoleHelper private const string ConsoleGraphicsInfo = """ ▋ ezr² v{0} ▋ Online documentation: - ▋ https://uralstech.github.io/ezrSquared/Introduction.html + ▋ https://uralstech.github.io/ezrSquared/docsrc/Learn-ezrSquared.html ▋ Feature requests and bug reports: ▋ https://github.com/Uralstech/ezrSquared/issues ▋ GitHub repository: @@ -70,10 +70,10 @@ internal static void PrintSmallConsoleGraphics(string version) { Console.Clear(); - ShowMessage("e", ConsoleColor.Green, true); - ShowMessage("z", ConsoleColor.Red); - ShowMessage("r", ConsoleColor.Blue); - ShowMessage("²", ConsoleColor.Yellow); + ShowMessage("e", ConsoleColor.Green, true, newLine: string.Empty); + ShowMessage("z", ConsoleColor.Red, newLine: string.Empty); + ShowMessage("r", ConsoleColor.Blue, newLine: string.Empty); + ShowMessage("²", ConsoleColor.Yellow, newLine: string.Empty); ShowMessage($" v{version}", ConsoleColor.White); } @@ -119,13 +119,13 @@ internal static void WaitForUser() Console.ReadKey(); } - private static void ShowMessage(string message, ConsoleColor color, bool resetPosition = false) + private static void ShowMessage(string message, ConsoleColor color, bool resetPosition = false, string? newLine = null) { if (resetPosition) Console.SetCursorPosition(0, 0); Console.BackgroundColor = ConsoleColor.Black; Console.ForegroundColor = color; - Console.WriteLine(message); + Console.Write(message + (newLine ?? Environment.NewLine)); } } diff --git a/src/Shell/InstallerSrc/ezrSquared 32-bit.iss b/src/Shell/InstallerSrc/ezrSquared 32-bit.iss index cf4777b..6723e94 100644 --- a/src/Shell/InstallerSrc/ezrSquared 32-bit.iss +++ b/src/Shell/InstallerSrc/ezrSquared 32-bit.iss @@ -4,7 +4,7 @@ #include "environment.iss" #define MyAppName "ezr² Shell" -#define MyAppVersion "0.8.0" +#define MyAppVersion "0.8.1" #define MyAppPublisher "Urav Advanced Learning Systems Pvt Ltd" #define MyAppURL "https://uralstech.github.io/ezrSquared/" #define MyAppExeName "ezrSquared.exe" diff --git a/src/Shell/InstallerSrc/ezrSquared 64-bit.iss b/src/Shell/InstallerSrc/ezrSquared 64-bit.iss index 2deef02..f1cbf53 100644 --- a/src/Shell/InstallerSrc/ezrSquared 64-bit.iss +++ b/src/Shell/InstallerSrc/ezrSquared 64-bit.iss @@ -4,7 +4,7 @@ #include "environment.iss" #define MyAppName "ezr² Shell" -#define MyAppVersion "0.8.0" +#define MyAppVersion "0.8.1" #define MyAppPublisher "Urav Advanced Learning Systems Pvt Ltd" #define MyAppURL "https://uralstech.github.io/ezrSquared/" #define MyAppExeName "ezrSquared.exe" diff --git a/src/Shell/Shell.csproj b/src/Shell/Shell.csproj index a09574c..68bc241 100644 --- a/src/Shell/Shell.csproj +++ b/src/Shell/Shell.csproj @@ -24,7 +24,7 @@ The ezrSquared Command Line Interface The Command Line Interface for the ezrSquared programming language. - 0.8.0 + 0.8.1 Udayshankar Ravikumar URAV ADVANCED LEARNING SYSTEMS PRIVATE LIMITED