Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
/ BasilC Public archive

An interpreter for the BasilC esoteric programming language

Notifications You must be signed in to change notification settings

shawnanastasio/BasilC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasilC

Build Status

BasilC is an esoteric interpreted programming language aimed at rapid development and deployment. BasilC introduces the new programming paradigm of procedural non-typed languages.

Quick start

Since The BasilC interpreter is written in pure C, it can be compiled with 0 dependencies on nearly any platform with a C compiler.

To compile on UNIX-like systems with GNU Make, simply run:

$ make

If you wish to use shebang lines (such as the one in example.basilc) to execute BasilC programs as scripts, or if you wish to read the manpage with the man command, install the compiled binary to your path:

$ sudo make install

You can test your installation by running the test script in the examples folder:

$ basilc helloworld.basilc

Or, alternatively:

$ chmod +x helloworld.basilc
$ ./helloworld.basilc

Documentation is available in the manpage format, and it can be accessed with the following command:

man basilc

Technical Explanation

The BasilC interpreter is written in 100% C in order to provide fast run times and portability across nearly all POSIX platforms, and even Windows.

BasilC abstains from traditional programming paradigms and puts the static vs dynamically typed variable debate to an end once and for all.

All variables in BasilC are stored internally as char literals. This provides enhanced flexibility for all types of data, while still allowing for type-dependent operations, such as arithmetic, that can still be performed by leveraging C's powerful casting system on a per-function basis.

About

An interpreter for the BasilC esoteric programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •