Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arturo-lang/arturo
Simple, expressive & portable programming language for efficient scripting
https://github.com/arturo-lang/arturo
arturo bytecode functional-programming homoiconic interpreter language programming-language stack-based virtual-machine
Last synced: 1 day ago
JSON representation
Simple, expressive & portable programming language for efficient scripting
- Host: GitHub
- URL: https://github.com/arturo-lang/arturo
- Owner: arturo-lang
- License: mit
- Created: 2019-09-22T12:22:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T14:32:34.000Z (3 months ago)
- Last Synced: 2024-10-29T15:48:59.965Z (2 months ago)
- Topics: arturo, bytecode, functional-programming, homoiconic, interpreter, language, programming-language, stack-based, virtual-machine
- Language: Nim
- Homepage: http://arturo-lang.io
- Size: 46.5 MB
- Stars: 710
- Watchers: 18
- Forks: 32
- Open Issues: 289
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
- awesome-programming-languages - Arturo - Arturo is an independently-developed, modern programming language, vaguely related to various other ones - including but not limited to Logo, Rebol, Forth, Ruby, Haskell, D, SmallTalk, Tcl, and Lisp. The language has been designed following some very simple and straightforward principles: a) Code is just a list of words and symbols, b) Words and symbols within a block are interpreted - when needed - according to the context, c) No reserved words or keywords - look for them as hard as you can; there are absolutely none. (Uncategorized / Uncategorized)
- jimsghstars - arturo-lang/arturo - Simple, expressive & portable programming language for efficient scripting (Nim)
README
Arturo
### Simple, expressive & portable
programming language for efficient scripting
![License](https://img.shields.io/github/license/arturo-lang/arturo?style=for-the-badge) ![Language](https://img.shields.io/badge/language-Nim-6A7FC8.svg?style=for-the-badge) [![Build Status](https://img.shields.io/github/actions/workflow/status/arturo-lang/arturo/linux.yml?branch=master&style=for-the-badge)](https://github.com/arturo-lang/arturo/actions) ![Chat on Discord](https://img.shields.io/discord/765519132186640445?color=orange&label=@Discord&style=for-the-badge)---
* [The Language](#the-language)
* [Documentation](#documentation)
* [Installation](#installation)
* [Pre-built binaries](#pre-built-binaries)
* [The alternative way](#the-alternative-way)
* [Manually](#manually)
* [Other methods](#other-methods)
* [Docker](#docker)
* [Homebrew](#homebrew)
* [Showcase](#showcase)
* [Community](#community)
* [FAQ](#faq)
* [Contributing](#contributing)
* [Activity](#activity)
* [How can I contribute?](#how-can-i-contribute)
* [Donations](#donations)
* [How can I donate?](#how-can-i-donate)
* [Sponsors](#sponsors)
* [License](#license)---
The Language
------------------------------Arturo is an independently-developed, modern programming language, vaguely related to various other ones - including but not limited to: Logo, Rebol, Forth, Ruby, Haskell, D, Smalltalk, Tcl, and Lisp.
The language has been designed following some very simple and straightforward principles:
- Code is just a list of words, symbols and literal values
- Words and symbols within a block are interpreted - when needed - according to the context
- No reserved words or keywords - look for them as hard as you can; there are absolutely none```red
factorial: function [n][
switch n > 0 -> n * factorial n-1
-> 1
]loop 1..19 [x]->
print ["Factorial of" x "=" factorial x]
```> ➤ Want to see more?
>
> For more - working - examples, just have a look at the [Examples](https://arturo-lang.io/documentation/examples/) in the official website.Documentation
------------------------------For more information about the language and access to the library reference, please visit the official [Arturo Programming Language documentation](https://arturo-lang.io/documentation/) website.
|
| | |
|-------------------------|-------------------|-------------------|
|**[Getting Started](https://arturo-lang.io/documentation/getting-started/)**
|**[In A Nutshell](https://arturo-lang.io/documentation/in-a-nutshell/)**
|**[Language](https://arturo-lang.io/documentation/language/)**
|
| | | |
|**[Command Line](https://arturo-lang.io/documentation/command-line/)**
|**[Library](https://arturo-lang.io/documentation/library)**
|**[Examples](https://arturo-lang.io/documentation/examples)**
|Installation
------------------------------### Pre-built binaries
Arturo comes with its own pre-built binaries - for, practically, all OSes - so, technically, it doesn't require any "installation". All you have to do is download one of them and run it - that's it!
###[⇩ Download Arturo](https://arturo-lang.io/#download)
> ➤ Wanna be as up-to-date as possible?
>
> Head over to the [Nightlies repo](https://github.com/arturo-lang/nightly/releases) and simply download the latest release!### The alternative way
```bash
curl -sSL https://get.arturo-lang.io | sh
```For Unix/Mac, you may also copy-paste the code above in your terminal and Arturo's most recent stable version will be automatically installed.
To get the most recent (nightly) build, just use: `curl -sSL https://get.arturo-lang.io/latest | sh`### Manually
In order to build Arturo manually, you may have a look here at the [instructions here](https://github.com/arturo-lang/arturo/wiki/Building-Arturo).
### Other methods
#### Docker
Although it won't cut it, if what you need is the real-deal compiler for everyday use, if you just need a taste of it, the Docker image will absolutely do.
Just use the existing docker image:
docker run -it arturolang/arturo
or (to run a specific local script):docker run -it -v $(pwd):/home arturolang/arturo
#### Homebrew
If you are on macOS, you can easily install Arturo using [Homebrew](https://brew.sh/) as well - although I cannot guarantee it will be the latest version:
```bash
brew install arturo
```> ➤ Trouble with the installation?
>
> If there is any issue with the installation, just let me know (by opening an issue) and I'll try to fix it. In any case, it would be safer to try one of the pre-built binaries.*Showcase
------------------------------
Portable, Serverless & Lightweight
SQLite-based Graph Database---
Modern cross-platform webview-based desktop apps
without HTML/CSS/JSCommunity
------------------------------In case you want to ask a question, suggest an idea, or practically anything related to Arturo - feel free! Everything and everyone is welcome.
For that, the most convenient place for me would be the [GitHub Issues](https://github.com/arturo-lang/arturo/issues) page.
For questions, quick ideas, and discussing generally the language, there is also a [dedicated Discord Server](https://discord.gg/YdVK2CB) for all things Arturo.
FAQ
------------------------------**What's in a name?**
In case you're wondering why I went for a programming language with a... Spanish male name, let me shed some light: Arturo was the name of my little pet [Emperor Scorpion](https://en.wikipedia.org/wiki/Emperor_scorpion) - hence the logo -, or *Pandinus Imperator*, who passed away in early 2020.
Despite being seemingly intimidating - as most scorpions do to those who don't know about the species - he was a very quiet, totally docile, easy-going and noble creature.
So, the name is a subtle hommage to him; and also a hint as to what this programming language aspires to be.
Contributing
------------------------------### Activity
### How can I contribute?
Please read [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md) for more details and the process for submitting pull requests.
Donations
------------------------------Given that Arturo is written and maintained by people for free, in their own free time, that also have their daily jobs, any donation would give the project the help it needs to get to the next level. And for that, we'd also need you help.
So...
### How can I donate?
We have different options for you:
- [GitHub Sponsors](https://github.com/sponsors/drkameleon)
- [Patreon](https://patreon.com/arturolang)You may also donate [via Bitcoin](https://blockchain.info/address/bc1qpjlmktrz79muz4yksm8aadz3d3srh0rmnn3hhd):
### Sponsors
Every little bit counts and the least we could do is to thank you all for your help and making us stick to the project:
🩶 Silver sponsors
⚡️ Bronze sponsors
-----------------------------
License
------------------------------MIT License
Copyright (c) 2019-2025 Yanis Zafirópulos (aka Dr.Kameleon)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.