C#ASIC (had to remove the # from title because of GitHub) is a program where you can write and run code in a BASIC-like programming language (fittingly) named C#ASIC (pronounced CBASIC).
C#ASIC is not a real language, it is written all in software to point to standard C# functions (hence the name C#ASIC). C#ASIC will halt if it finds a command that is not programmed in yet. C#ASIC works almost excatly like my other CLI program, .OS, but has some changes.
Download the executable from the latest release, then move it to C:\Windows.
Download the UNIX executable (without the .exe part) to a place in the UNIX path that is not protected by the system, like /usr/bin
or /usr/local/bin
.
Or, just create a folder, move the cb executable to that folder then add it to path.
First, install WSL and Ubuntu. Then, Install Mono and Git by typing sudo apt install mono-complete git
. Clone the repo using git clone https://github.com/Marko2155/C-ASIC.git
. Now, cd
into the C#ASIC folder. Type mcs cb.cs
. However it will produce a .exe. You can either install Wine or do mono cb.exe
. (it's best to put the last two commands into a bash script for easy compiling and running.
Install Mono and Git by typing sudo apt install mono-complete git
. Clone the repo using git clone https://github.com/Marko2155/C-ASIC.git
. Now, cd
into the C#ASIC folder. Type mcs cb.cs
. Type mkbundle -o cb --cross default cb.exe
. If mkbundle isn't installed, find out how to install it.
Install Mono and Git by typing brew install mono
and brew install git
. Clone the repo using git clone https://github.com/Marko2155/C-ASIC.git
. Now, cd
into the C#ASIC folder. Type mcs cb.cs
. Type mkbundle -o cb --cross default cb.exe
. If mkbundle isn't installed, find out how to install it.