Amber icon indicating copy to clipboard operation
Amber copied to clipboard

💎 Amber the programming language compiled to bash

Results 219 Amber issues
Sort by recently updated
recently updated
newest added

Because of how flexible function names are in Bash, something I've been doing for years is emulating classes something very similar to this pattern: ```bash foo.bar () { local this="$1"...

enhancement
syntax

since that we could source this compiled bash script and call amber function in bash script or shell. and has a way to enhance/replace old bash script.

enhancement
help wanted

https://github.com/Ph0enixKM/Amber/blob/eedd6812c06885b8d1658c6b19246238bff7e489/src/translate/compute.rs#L51 I understand that bash cannot handle arbitrary precision numbers, but I think many users may prefer a low precision mode that does not generate pipelines like this. There may...

enhancement

The data-types in Amber could be even better if they were extended to include a dictionary/map type. Something like `[Text, Num]`.

enhancement
help wanted
syntax

## Usecase As a DevSecOps specialist, I regularly enforce a check stage for all bash scripts in our project repository utilizing [shellcheck](https://github.com/koalaman/shellcheck), a tool that provides linting for bash scripts...

enhancement
hacktoberfest

Create a way to generate documentation. The implementation should: 1. Generate each markdown file for each module that is part of the project 2. Collect freestanding comment docs as documentation...

Now that the command is [no longer using `$SHELL` on the right side of the pipe](https://github.com/Ph0enixKM/Amber/commit/3f137655dd34e27304a6636a360144c76a3bc1c3#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R24), there's no need to over-complicate things.

turns out implementing this wasn't as complicated as i thought. features added: - the checker itself - - `cargo test`s - CLI argument to disable it: `--disable-rdc` - the shebang...

It would be pretty damn useful when debugging the compiler, as well as it makes the output more readable

This PR adds Nix and NixOs support for amber. It packages the executable with `bc` and `bash`. In addition it fixes the `/bin/bash` executable path since it is not supported...