Skip to content

Commit

Permalink
ezr² v0.8.1
Browse files Browse the repository at this point in the history
- Fixed shell printouts.
  • Loading branch information
Uralstech committed Nov 1, 2024
1 parent 97c2833 commit b6946ac
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 18 deletions.
5 changes: 4 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 ***<https://uralstech.github.io/ezrSquared>***!
**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 ***<https://uralstech.github.io/ezrSquared>***!

## What's the 'ezrSquared-re' branch?
ezr² is being rewritten from the ground up! Expect more features, better performance and better code documentation!
Expand Down
2 changes: 1 addition & 1 deletion src/EzrSquared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<Title>ezr² Portable Library</Title>
<Description>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!</Description>

<PackageVersion>0.8.0-unstable</PackageVersion>
<PackageVersion>0.8.1-unstable</PackageVersion>

<Authors>Udayshankar Ravikumar</Authors>
<Company>URAV ADVANCED LEARNING SYSTEMS PRIVATE LIMITED</Company>
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/EzrShell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace EzrSquaredCli;
/// </summary>
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;
Expand Down Expand Up @@ -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);
Expand Down
14 changes: 7 additions & 7 deletions src/Shell/EzrShellConsoleHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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);
}

Expand Down Expand Up @@ -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));
}
}
2 changes: 1 addition & 1 deletion src/Shell/InstallerSrc/ezrSquared 32-bit.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/InstallerSrc/ezrSquared 64-bit.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Shell.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Title>The ezrSquared Command Line Interface</Title>
<Description>The Command Line Interface for the ezrSquared programming language.</Description>

<Version>0.8.0</Version>
<Version>0.8.1</Version>

<Authors>Udayshankar Ravikumar</Authors>
<Company>URAV ADVANCED LEARNING SYSTEMS PRIVATE LIMITED</Company>
Expand Down

0 comments on commit b6946ac

Please sign in to comment.