lito

module
v0.0.0-...-8c2d49f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2023 License: MIT

README

Lito Programming Language

Lito is an scripting language heavily influenced by Ruby and Smalltalk, as well as the implementation language, Go.

Installation

If you'd like to contribute, or are just interested in seeing the source, simply clone this repository.

To create the lito executable, run the following command in the project root.

go build ./cmd/lito

This will download the dependencies and compile Lito. Currently only github.com/chzyer/readline is a required dependency.

This should produce the lito executable in the root of the project

To start Lito interactively, simply run the following command:

./lito

Alternatively, you can use the following make command to build and run Lito.

make run

This will run the interpreter in interactive mode.

To try out the examples add the path to the file on the command line.

./lito examples/error.lito

VS Code Extension

A basic extension for VS Code is available at https://github.com/robotii/lito-vscode

It provides syntax highlighting for .lito files, but nothing beyond that as yet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL