This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Simple view class | |
| * | |
| * This is the simplest class I could devise that contains the minimum logic | |
| * that I require in a view: | |
| * | |
| * Includes - Ability to include other views | |
| * | |
| * Captures - Ability to easily capture content within your view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // calc.go implements a simple calculator using the iNamik lexer and parser api. | |
| // | |
| // Input is read from STDIN | |
| // | |
| // The input expression is matched against the following pattern: | |
| // | |
| // input_exp: | |
| // ( id '=' )? general_exp | |
| // general_exp: |
NewerOlder