git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| Index: sapi/cli/config.w32 | |
| =================================================================== | |
| --- sapi/cli/config.w32 (revision 308839) | |
| +++ sapi/cli/config.w32 (working copy) | |
| @@ -6,7 +6,8 @@ | |
| ARG_ENABLE('cli-win32', 'Build console-less CLI version of PHP', 'no'); | |
| if (PHP_CLI == "yes") { | |
| - SAPI('cli', 'php_cli.c', 'php.exe'); | |
| + SAPI('cli', 'php_cli.c php_http_parser.c php_cli_server.c', 'php.exe'); |
| if foo | |
| if bar | |
| something | |
| else | |
| something_else | |
| else | |
| baz |
| """ | |
| A really stupid python template language inspired by coffeekup, markaby. | |
| Do not use this code, it will ruin your day. A byproduct of insomnia. | |
| TL;DR | |
| ----- | |
| This module defines a template language that allows us to do: | |
| d = Doc() |
This project is a tiny compiler for a very simple language consisting of boolean expression.
The language has two constants: 1 for true and 0 for false, and 4 logic gates:
! (not), & (and), | (or), and ^ (xor).
It can also use parentheses to manage priorities.
Here is its grammar in BNF format:
expr ::= "0" | "1"