-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.cli
51 lines (46 loc) · 1.27 KB
/
README.cli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
The Pigeon Potato Compiler
###########################
____
___/ * >
__/ \__/
//( )
// \______/
| |
/|\ /|\
Uh, how deformed-stork-y is that?
***
About
======
This compiler is in alpha stage, and is going to be able to compile C, C++, D, etc. Here's the direct order of what I want to do those in:
1. C
2. C++
3. D
4. C#
5. Ada
Building
=========
This should work on Linux.
```shell
git clone https://github.com/Platypus-Tech/ppc.git
cd ppc
gcc ppc.c -o ppc # you can use any compiler you want, like cc or clang, just as long as you can use it.
```
You can use gcc, cc, or clang, but that's messed up. Actually, the Makefile uses CC to compile ppc.c. Ah, fudge it.
Usage
======
If you put ppc in `/usr/bin`, you would do this:
```
you@some-linux-distro:~$ ppc <file-to-compile>
```
If you don't, and it's in your current directory, do this:
```
you@some-linux-distro:~$ ./ppc <file-to-compile>
```
Of course, I can't compile anything yet. You can, though, get help (I think):
```
you@some-linux-distro:~$ ppc help
```
That's if it's in usr/bin, but you know how to do it if it's not (if it snot!).
Are there any Easter Eggs?
===========================
Of course there are! Try `ppc astro-zombies`... hint-hint, Astro-Zombies lyrics