Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZC

ZC is a dialect of the C programming language made to "parody" Zig. ZC uses the clang compiler (and only it), because it uses clang blocks for lambda functions, and requires the libblocksruntime library to build

Usage

To start new project with zc:

zc init your_project_name

To build file from code/ directory:

zc build file_without_ext

And to run:

zc run file_without_ext

You also can build without debugging info with release instead of build

Test system

ZC has testing system, similliar to Zig's. To make testing file:

$test(your_test_name){
    // do something
    return noerropt; // no errors
}

And to build and run file with tests:

zc test file

Examples

More examples on ./code/passed

About

ZC - c dialect, simillar to Zig

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages