Losetta 0.9.21

There is a newer version of this package available.
See the version list below for details.
dotnet add package Losetta --version 0.9.21                
NuGet\Install-Package Losetta -Version 0.9.21                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Losetta" Version="0.9.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Losetta --version 0.9.21                
#r "nuget: Losetta, 0.9.21"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Losetta as a Cake Addin
#addin nuget:?package=Losetta&version=0.9.21

// Install Losetta as a Cake Tool
#tool nuget:?package=Losetta&version=0.9.21                

Losetta

Build state LICENCE Commit Activity

Losetta is a customizable scripting language that can be used from C# and other CLR languages; Losetta conforms to SAIM, an implementation of AliceScript, and is compatible with AliceScript and AliceSister.

Losetta is released under the MIT License and is free of charge and without warranty. In addition, Losetta is developed based on CSCS.

For more information, see LICENCE.

How to use

Download and run the appropriate binary for your environment from Release.

When the program is launched for the first time, a .alice directory is created in the directory where the binaries are located, and startup scripts, etc. are installed.

If invoked without any arguments, the interactive execution mode (REPL) is invoked.

If a file name is specified as an argument, the file is read and executed.

For example, to run the script file test.txt, do the following.

alice test.txt

The script file is in the following format You may also use Shibang.

print("Hello,World!");

print("What your name?");
write("Name>>");

var name = read();

print("Hello,"+name+"!");

It can also be described in a more sophisticated way.

write("What your name?\r\nName>>");
print("Hello,{0}!",read());

Ah yeah, if you consider the order in which they are executed, you can write them on a single line.

print("Hello,{1}!",write("What your name?\r\nName>>"),read());

Access to the API is done after declaring it with the using directive.

using Alice.IO;

// Write "Hello" in test.txt.
file_write_text("test.txt","Hello");

It can also be called directly by specifying a namespace.

Alice.IO.file_write_text("test.txt","Hello");

Available APIs can be found in the API browser.

For detailed usage instructions, please refer to AliceScriptDocs (Japanese). For those seeking information on earlier versions, AliceScriptWiki may be useful.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Losetta:

Package Downloads
Losetta.Runtime

Package of basic functions and APIs available in AliceScript

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.10.5 145 3/28/2024
0.10.4 203 12/31/2023
0.10.2 149 12/23/2023
0.10.1 154 12/10/2023
0.9.24 173 9/10/2023
0.9.23 139 9/3/2023
0.9.22 161 8/27/2023
0.9.21 164 8/11/2023
0.9.20 248 3/18/2023
0.9.19 254 3/5/2023
0.9.18 302 2/13/2023
0.9.17 337 1/28/2023
0.9.16 353 1/19/2023
0.9.15 349 1/8/2023
0.9.13 358 1/2/2023
0.9.11 344 12/27/2022
0.9.10 329 12/18/2022