Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sekiguchi-nagisa/arsh
A statically typed scripting language with shell-like features
https://github.com/sekiguchi-nagisa/arsh
cpp scripting-language shell
Last synced: 3 months ago
JSON representation
A statically typed scripting language with shell-like features
- Host: GitHub
- URL: https://github.com/sekiguchi-nagisa/arsh
- Owner: sekiguchi-nagisa
- License: apache-2.0
- Created: 2015-01-12T07:31:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T17:00:53.000Z (3 months ago)
- Last Synced: 2024-03-05T09:54:23.153Z (3 months ago)
- Topics: cpp, scripting-language, shell
- Language: C++
- Homepage:
- Size: 16.1 MB
- Stars: 19
- Watchers: 3
- Forks: 2
- Open Issues: 61
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- cli-apps - arsh - A statically typed scripting language with shell-like features. (<a name="shells"></a>Shells)
- awesome-cli-apps - arsh - A statically typed scripting language with shell-like features. (<a name="shells"></a>Shells)
README
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Coverage Status](https://coveralls.io/repos/github/sekiguchi-nagisa/arsh/badge.svg?branch=master)](https://coveralls.io/github/sekiguchi-nagisa/arsh?branch=master)
[![Actions Status](https://github.com/sekiguchi-nagisa/arsh/workflows/GitHub%20Actions/badge.svg)](https://github.com/sekiguchi-nagisa/arsh/actions)
[![CircleCI](https://circleci.com/gh/sekiguchi-nagisa/arsh.svg?style=shield)](https://circleci.com/gh/sekiguchi-nagisa/arsh)# arsh
A statically typed scripting language with shell-like features.
Currently, under heavy development. Language specification is subject to change without notice.
## Build Requirement
* Linux x86-64
* cmake 3.8 or later
* git (for fetching external projects)
* autotools, libtool (for building re2c)
* if cmake 3.12 or later, no longer need theme
* Python 3.7 or later (for building re2c)
* make/ninja
* gcc/clang (need gnu++17 support)
* libpcre2-8 10.30 or later
* need UTF-8 and unicode property support### Optional Requirement
* fzf (for history search)
* bash-completion (for tab-completion)### Tested Compiler
* gcc (7, 8, 9, 10, 11, 12, 13)
* clang (6, 7, 8, 9, 10, 11, 12, 13, 14, 15)### Other Tested platform
* Linux
* Arm64
* macOS
* x86-64
* Arm64
* Windows x64
* Cygwin
* MSYS2
* WSL## How to use
1. build and install
```sh
$ git clone https://github.com/sekiguchi-nagisa/arsh.git
$ cd arsh && mkdir build && cd build
$ cmake .. # default install dir is /usr/local/bin
$ make -j4
$ sudo make install
```2. run in interactive mode
```sh
$ arsh
```