Scar
Scar programming language
Install / Use
/learn @scar-lang/ScarREADME
Scar
General purpose systems programming language with abstracted concurrency and parallelism constructs builtin.
No convoluted compile-time metaprogramming.
Optional garbage collection. The standard library will work with or without the GC.
Prioritizes:
- immutability
- minimalism
- readability
- easy parallelism
Example
pub fn do_thing() -> void:
parallel for i = 1 to 5:
print "i = %d" | i
sleep 0.1
print "Parallel for loop completed."
do_thing()
Getting Started
Windows
- Unzip
scar.zipto some folder, then add that folder to system PATH. - Run the
setup.cmdscript
Linux (experimental)
- Get prebuilt version from releases.
- Extract zip.
- Add
scarbinary location to env.
MacOS (experimental)
- Install the go toolchain
- Clone the repository
- Run
go build - Add the folder with the executable to zsh profile (
.zprofile).
Resources
Documentation is available here.
The VSCode extension is available here.
<font color="grey">(Under construction)</font>
<img src="assets/wip.png" style="border-radius: 5px;" width=45%>