Skip to content

zer0reaction/clic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The CLI language

The name

CLI - C LIsp. The goal was to create a C-like language with lisp-like syntax (I don't know lisp though, rofl).

CLI is currently a stack machine.

The project is in a very early stage of development. Anything can change at any time. Anything can break. Do not expect much.

The final goal is to create an interesting language with unique features and self-host the compiler.

Usage

go run main.go --help

Examples

See the examples directory.

Linking with C functions:

(exfun print_s64 (n:s64) void)
#include <stdio.h>
#include <stdint.h>

void print_s64(int64_t n)
{
    printf("%ld\n", n);
}

About

CLI language compiler (project for the GoLang university course)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors