programming language
A programming language based on ideas and concepts from programming languages like C, C++ and newer languages like Rust or Zig.
Language documentation - everything about Crs, under construction
Crs uses Premake5 to generate build files .
Clone Crs:
git clone https://github.com/fencl/Crs.git
cd Crs
Build on Windows using Visual Studio 2019:
premake5 vs2019
Build using make and gcc (msys on Windows):
premake5 gmake2
cd build
make config=release_linux_x64
( debug | release _ windows | linux _ x86 | x64 )Executable will be placed inside bin folder in subdirectory tree corresponding to build configuration
To run crs program use crs file -r
where file
is path to build file and -r
is argument to tell the compiler to run the program directly
Run crs ex_helloworld.crs -r
inside examples folder. Other examples are currently ex_hellofile.crs
, ex_tuple.crs
, ex_list.crs
, ex_trait.crs
and ex_stdcall.crs