Skip to content

An esoteric language with Chewa inspired keywords and constructs.

Notifications You must be signed in to change notification settings

kwalter94/chewa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chewa-lang

This is an attempt at creating an esolang that makes use of Chewa keywords. The language will compile down to Javascript (Specifically ES6). The following is an example script of what am aiming for:

gawo zamoyo {
    gulu Nyama {
        ndondomeko yenda() {
            // Yenda...
        }
        
        ndondomeko puma () {
            // Puma...
        }
    }

    gulu Munthu < Nyama {
        ndondomeko yenda () {
            kholo.yenda();	// Panga ndondomeko yoyenda ya nyama
        }
    }

    munthu = Munthu();
    ngati munthu ali Nyama {
        nena 'Munthu ndi nyama';
    } kapena {
        nena 'Munthu si nyama';
    }
}

Setup

  • You need bison, flex, GNU Make, and obviously a C compiler. Source this in whatever way is available on your operating system. In the case of mine (which is debian), simply do the following:
$ apt-get install build-essential flex bison
  • To compile the damn thing, just run make like so:
$ make

About

An esoteric language with Chewa inspired keywords and constructs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published