phrep

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

18 check-ins occurring on or before 2015-02-21 17:44:04.

2015-02-21
17:44
[bdfa825b72] Test a few more expressions, probe for correct #define parsing. And add a simple self-test for on(). (user: mario, tags: trunk)
17:42
[7083e8568e] Fix absent STDERR const when PHP runs within shell pipes. Simplify $preserve pragma states and overrides. Inherit ->$defines in MacroInjector per parameter. Skip T_CONST in token search corectly. Cache complex@ macro PHP functions. Add support for quoted #var interpolation in basic macros. (user: mario, tags: trunk)
17:38
[e354e7c98d] Add config file support (XDG_CONFIG_HOME or ~/.config/php/phrep.php) with implicit/accidential --config option to override its path. (user: mario, tags: trunk)
2015-02-20
16:05
[4fbcb420ac] Tinkered macro.php from hybrid7 repo in. (user: mario, tags: trunk, 0.1.8)
16:01
[24a48d56f6] Trivial tests, and result checks. (user: mario, tags: trunk)
16:00
[07048f6bb9] Example includes. (user: mario, tags: trunk)
15:59
[c9bfd96b8a] Add command-line tool, man page (AsciiDoc src) and Makefile. (user: mario, tags: trunk)
15:58
[d3ab081323] Retain only macro.php (user: mario, tags: trunk)
15:57
[3962ece5e0] Remove hybrid7 files. (user: mario, tags: trunk)
15:57
[11b5b685fc] Remove hybrid7 files. (user: mario, tags: trunk)
15:34
[40155129df] Introduce `preserve` pragma/state to retain file/line/output between includes. Add complex macro construction code. Safeguard basic macros against absent args. Recheck valid function names in MacroExpressions. (user: mario)
2015-02-19
12:48
[a41bba31c8] Introduce #srcout preprocessor directive for conditional source output. Split out MacroInjector functionality from MacroProcessor. Add `keep_empty` and `quiet` pragmas. Allow more spacing in MACRO(arg, list) declarations. Support ## varname concatenation in basic macros. Light reshuffling of operator precedence and operand polling for || and &&. Use proper namespace structuring for merging with `phrep.php` cmdline wrapper. (user: mario)
2015-02-18
16:27
[c32a30469b] Fix RX_DIRECTIVES multi-line string extraction, and strip <kbd>\\ NL</kbd> combo. Colorize stderr() messages, prepare for quiet mode. Split d_pragma() handler into value copying and p_hooks() callbacks. (user: mario)
2015-02-17
23:35
[5216d6be55] New #pragma options (dirs=/include:/path, omit=*.h, comments=1, macros=1, fail=0). Longer introduction comment. More regexps moved into const RX_* section. (user: mario)
19:05
[3a12ba3743] Externalize some common macros into `defaults.ph`. (Bundle into separate repository..) Add #pragma(interpolate=regex) substitution names ("erb" and "phpp") and optional delimiters via #pragma(interpolate=regex ##( )##). Start tracking parsed line numbers. Safeguard #include against most commented-out PHP include(); statements. Shortcut find_include for absolute paths. Join tokenizer macro searching and replacement for basic+complex macros, inject [T_FUNC_C, $repl, 0] instead of literal into token stream. Add MacroExpression shortcuts for "0" and "1" literals. Fix expr->run operand order for GT/LT/E comparisions. (user: mario)
14:32
[acded28fdd] Fix p_stderr callback and RX_DIRECTIVES alternative list. Change to weird variable name $ΒΆ instead of $state (maybe rename flags to lvl,act,end later). (user: mario)
07:09
[bcf53d2741] Implement tokenizer and regex constant/macro replacement (incomplete). Fix condition block nesting level tracking. Rename main func to `on()`. Implement #include searching and omitting .h output. Change collected macro definitions to contain pre-parsed param names. (user: mario)
2015-02-16
20:16
[9dea381ebc] Basic version, #directive preprocessing, and basic expression evaluation. No tokenization and constant / macro interpolation yet. (user: mario)