Skip to main content

run HolyC source on linux

Project description

# HolyC-for-Linux
run HolyC on Linux secularly

[![Build Status](http://ec2-54-162-194-49.compute-1.amazonaws.com/job/holyc-for-linux/job/master/badge/icon)](http://ec2-54-162-194-49.compute-1.amazonaws.com/job/holyc-for-linux/job/master/)

#### Disclaimer

This tool is in super-hella-mega alpha stage. If you use this, you will die. Or worse, your current operating system will be replaced with TempleOS. I've only tested this on `3.7-dev`.

#### Install

```
git clone https://github.com/jamesalbert/HolyC-for-Linux.git
cd HolyC-for-Linux
python setup.py install
ln -s bin/secularize /usr/local/bin/secularize
```

#### run

`secularize examples/test.hc`

turns

`examples/test.hc`
```
F64 *s = 3;

U0 test(I16 a, U8 b, F64 c) {
Print("hello");
}

F64 pest(I8 d) {
Print("nothing");
}

Print("%s %s", "hello", "world");
I64 b = 2.000;
```

into

`examples/test.c`
```
void test(short a, unsigned char b, double c)
{
printf("hello");
}

double pest(char d)
{
printf("nothing");
}

int main()
{
double* s = 3;
printf("%s %s", "hello", "world");
long b = 2.0;
}
```

#### What's Supported

- print statements
- primitive data types
- basic functions

#### What's Not Supported

Everything else. Deal with it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for secularize, version 0.0.1.post0
Filename, size File type Python version Upload date Hashes
Filename, size secularize-0.0.1.post0.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page