Skip to content

Releases: yarb00/TsslInterpreter

v0.5.0

03 Dec 12:22
v0.5.0
7c279df

Choose a tag to compare

v0.5.0 Pre-release
Pre-release

Full Changelog: v0.4.0...v0.5.0

Interpreter changelog (TsslInterpreter v0.5.0)

New

  • -v and -u are now available as aliases for --version and --check-updates.
  • Local JSON file can now be used for update checking by setting the TSSL_INTERPRETER_LOCAL_UPDATE_DATA_PATH environment variable. When it's not set or empty, just as in v0.4.0, updates are checked from the remote server.
  • Support of the language version 0.5 was added.
  • When wrong arguments are passed to the command (inside a script), a usage help is now included to the error message.

Removed

  • REPL environment was removed.
  • Support of the language versions 0.3 and 0.4 was removed.

Language changelog (Too Simple Scripting Language v0.5)

New

  • A few built-in values are now available: _language_version, _interpreter_name, _interpreter_website, and _interpreter_version.
  • goto was added in a form of labels (@...) and jump ...> commands. See the examples/jump.toosimple file in the repository for more information.

Removed

  • All debug ...> commands are removed. Consider using the new built-in values instead.

v0.4.0

24 Sep 11:21
495f1d8

Choose a tag to compare

v0.4.0 Pre-release
Pre-release
Hashes

TsslInterpreter.exe [SHA-256] = 548B693A09AA510EF6E2F5558F1A641ED6D62E23D783B64DB5BFCFD7CFD2ED83


Full Changelog: v0.3.0...v0.4.0

Interpreter changelog

  • Support of the language version 0.2 has been removed.
  • Support of the new language version, 0.4, has been added. More details below.
    (The version 0.3 of the language is still supported.)
  • Now the "--check-updates" option can be used to check for updates.
  • REPL environment has been added. It's activated when no arguments are passed.
  • Now error messages include the line number (where the error occurred) and a short description of the problem, instead of just "An error occurred idk where idk why, search for yourself :D".
    (Error descriptions are only supported for the language v0.4. If script uses TSSL 0.3, only the line number will be present in the error message.)

Language changelog

New commands

  • set value join> [output value];[input value 1];[input value 2];[input value x];... - Concatenate all input values and set "[output value]" to the result of the concatenation.
  • ask pause> Pause execution until user presses any key.

Changes to the existing commands

  • set value> has been renamed to set value line>.

Note

The attached binary is compiled for the RID win-x64. If you are using other OS/arch then you need to compile this project yourself.

How to compile
  1. Install the latest Git and the latest .NET SDK.
  2. Make sure that you have git and dotnet available in your PATH.
  3. Run git clone https://github.com/yarb00/TsslInterpreter.git. It will create a new TsslInterpreter directory in your current directory.
  4. cd TsslInterpreter
  5. Build the project with dotnet publish -r <RID>. The full list of RIDs can be found here. If you are building for yourself, omit the -r <RID> part and the RID of your current environment will be used automatically.
  6. The executable will be placed in <project directory>/src/bin/Release/net8.0/<RID>/publish.

v0.3.0

21 Sep 03:08
14c7c52

Choose a tag to compare

v0.3.0 Pre-release
Pre-release
Hashes

TsslInterpreter.exe [SHA-256] = 45AAF0C26C74774DFDD1F4F106E2AACD7F7AD70E98BAAC3DA63242BB7868A508


Full Changelog: v0.2.0...v0.3.0

Interpreter changelog

  • Support of the new language version, 0.3. More details below.
    (The version 0.2 of the language is still supported.)
  • Now when an unhandled exception occurs, all useful info is now printed to the console, along with the link to create a pre-filled GitHub Issue.
  • Now the name and version of interpreter don't get printed to the console on every run. Instead, a new "--version" argument was added.
  • The interpreter now no longer.

Language changelog

New commands

  • debug print values> - runs print line> ... with the list of all existing values.
  • debug print language version> - prints the version of the language used in the script (0.3 or 0.2).
  • debug print interpreter version> - prints the version of the interpreter (0.3.0).
  • debug print interpreter name> prints the name of the interpreter (TsslInterpreter).
  • set value> [value name];[value content] - allows to set/create the value.
  • execute process value> [value name] - pass the content of the value to the execute process> ... command.
  • execute process value wait> [value name] - pass the content of the value to the execute process wait> ... command.

Changes to the existing commands

  • print line value> has been renamed to print value line>.
  • ask line value> has been renamed to ask value line>. It also doesn't write the value itself anymore, instead calling the set value> ... command.
  • execute ...> commands now use the C# UseShellExecute option.

Other

  • Command names can now only contain Latin letters, numbers and spaces.
  • Value names can now only contain Latin letters, numbers and underscores.
  • The case (lower/upper) of the command name is now ignored.
  • The spaces to the left and to the right of the command name are now ignored. Spaces in the middle still do matter.

Note

The attached binary is compiled for the RID win-x64. If you are using other OS/arch then you need to compile this project yourself.

How to compile
  1. Install the latest Git and the latest .NET SDK.
  2. Make sure that you have git and dotnet available in your PATH.
  3. Run git clone https://github.com/yarb00/TsslInterpreter.git. It will create a new TsslInterpreter directory in your current directory.
  4. cd TsslInterpreter
  5. Build the project with dotnet publish -r <RID>. The full list of RIDs can be found here. If you are building for yourself, omit the -r <RID> part and the RID of your current environment will be used automatically.
  6. The executable will be placed in <project directory>/src/bin/Release/net8.0/<RID>/publish.

v0.2.0

20 Sep 09:03
f7b8c5a

Choose a tag to compare

v0.2.0 Pre-release
Pre-release
Hashes

TsslInterpreter.exe [SHA-256] = 080A520875870EAEFCD90EDCE28E71BE105418DB00C70E3C86452CB0FA9C25C3

The first more or less stable release. Just 2MB, wow.

(v0.1.0 "The Initial Commit" doesn't count, it's a mess.)

The attached binary is compiled for win-x64. If you have other OS/arch you need to compile the project yourself. (Thankfully it's just: git clone, cd and dotnet publish)