phrep

Timeline
Login

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

50 most recent check-ins

2015-05-29
12:50
Update a few comments, release as 0.3.0. Leaf check-in: 6bd3a9efb0 user: mario tags: trunk, 0.3.0
2015-04-28
23:20
Added a few silly development tests. check-in: 58129a2013 user: mario tags: trunk
23:09
Set current as '0.2.9' (no release). check-in: 6c2466e1ae user: mario tags: trunk
23:08
Use array_merge() instad of += adjoing operator on updating ->pragma stack. check-in: e2ad430ee0 user: mario tags: trunk
23:07
Only redirect STDOUT for failing tests. check-in: 0370a185c4 user: mario tags: trunk
23:06
Remove redundant //<?php prefix check-in: 223fc62a1b user: mario tags: trunk
23:06
Add `qw@` macro for simple list generation from literal words. check-in: a1eb5d98ad user: mario tags: trunk
2015-03-19
15:55
Cleanup examples. Use _pkgs/ output dir in Makefile. check-in: e995a45419 user: mario tags: trunk
15:54
Document special -i and -o flag values. check-in: 6a06bb23c2 user: mario tags: trunk
15:53
Cleanup var names, add function_exists and class_exists to allowed funcs. check-in: 11bb8de1e8 user: mario tags: trunk
2015-03-17
01:39
Carry over token types from MacroExpression group to run. Only 'func' and 'op' types are honored explicitly; strings and literals remain interchangeable. check-in: 234753cce4 user: mario tags: trunk
2015-03-16
10:51
Rework function call checks and operator precedence in MacroExpression, inherit $pragma and $defines. Simplify expand_macro() signature, look up keys+body per $name in ->$defines prop. Move `(` parens after macro name assertion into token_substitute(). check-in: f9f4d2bc0c user: mario tags: trunk
10:46
Support for --target .php to just replace file extension (from .src) check-in: 973a655ac4 user: mario tags: trunk
2015-03-10
22:35
\#pragma(current=0.2.6) check-in: f52d384e2d user: mario tags: trunk
22:34
Update notes for complex macro $token list. check-in: 560201fda4 user: mario tags: trunk
22:33
Fix Z2 comparison args. check-in: 7b5d53e565 user: mario tags: trunk
22:33
Use new builtin io\Token:: helper functions, in place of `token.php` hooks. check-in: 8bb3d2e575 user: mario tags: trunk
22:32
Add `php_strip_tags` pragma option for #include directive. Eschew double warning for non-existent includes. Warning for absent params in simple macros. Add Token::split_expr() helper. check-in: 69142fec09 user: mario tags: trunk
06:02
Reworked macro substitution code. New regex for correctly paired parens, and string/comment support. Simplified regex+constant+delimiter joining. Generates $token list now as well. Tokenizer substitution mode streamlined by just scanning for parens, and array_splice(&$token) moved from token_substitute() into token_macro_repl(). Argument splitting now in Token::args() helper. And token_join moved as static helper into Token:: class as well. check-in: 905548a9f1 user: mario tags: trunk
2015-03-09
19:37
Made regex mode speedier with prejoined list of (MACRO|AND|CONST|NAMES@). check-in: f671284602 user: mario tags: trunk
19:36
Introduced ?: ternary operator for expressions. check-in: 3995f14cbd user: mario tags: trunk
2015-03-06
17:48
Add combined script for direct download. <a href=doc/trunk/phrep>phrep</a> check-in: 6547ea59d4 user: mario tags: trunk
2015-03-01
17:30
Mention new -ns, -nc, -nm and -nx options. check-in: ef6d1bf7cb user: mario tags: trunk
17:24
Rename phrep.php to cli.php, always enable output=1 check-in: bcc487b397 user: mario tags: trunk
17:22
Add additiona substitution=1 pragma, to disable constants/macros/cmplx in unison. check-in: 4f5705cae4 user: mario tags: trunk
17:21
Introduce --no option, with -ns (no substition) and -nc (no constants) and -nx -nm (no complex/macros) shortcuts. check-in: 3919e01047 user: mario tags: trunk
17:20
Simplify NULLSAFE@ expression. check-in: 667df7509e user: mario tags: trunk
2015-02-27
20:49
Comment out __TIMESTAMP__ and __BASE_FILE__ so constructor can inject them (was using array adjoin `+` op). check-in: 258463bf99 user: mario tags: trunk
2015-02-26
19:18
Beta state release. check-in: 5047b77ef4 user: mario tags: trunk, 0.2.0
19:01
Fix arg... extraction, compact interpolation regexps. Change defined() expr probing for absent values. Rename runtrough tests, add multipass, #srcout and #include probes. check-in: 677816bcf8 user: mario tags: trunk
2015-02-25
20:12
Add a sample config collection, base script `config.php` currently responsible to load others. Complex macro helpers in `token.php`. And sample macros HTML@ and PARAMETERIZE@ added. check-in: 69b4a964ca user: mario tags: trunk
20:10
Use `add`Macro rather than set.. check-in: e96b485e46 user: mario tags: trunk
20:10
Introduce basic composer post-install-cmd handler. check-in: 5b2a3ab4cd user: mario tags: trunk
20:09
Add src→php mapper to phing binding. check-in: 98ed08f980 user: mario tags: trunk
20:09
Add `multipass` support for constants and basic macros (default off). Fix RX_MACROS word boundary check. Accept `#include CONSTANT_NAME_H` constructs. check-in: 3b06eeaf9e user: mario tags: trunk
20:08
Comment on `comments` pragma and new config dir. check-in: 7752c1fa15 user: mario tags: trunk
20:07
Change default config location to ~./config/phrep/config.php, allow absolute path for overriding. Accept -o=-i as another alias for overwriting input. check-in: f04486370d user: mario tags: trunk
2015-02-24
15:59
Introduce `defprefix` pragma (to mask constants from C header .h files). check-in: 2aa26d479e user: mario tags: trunk
15:56
Add docblocks to setters.def template, use Ruby-style macro names, optional type assertion for ATTR_ACCESSOR. check-in: b4751da9b0 user: mario tags: trunk
15:55
Fix varargs... name conversion for complex macro expansion. Strip C-style inline /*comments*/ from MacroExpressions. check-in: adf5175ee5 user: mario tags: trunk
15:53
Add some documentation URLs to man page. check-in: e1da8f7bac user: mario tags: trunk
15:52
Use ShellFlags options: map for getopt long arguments. check-in: 22e75d7b8b user: mario tags: trunk
2015-02-23
17:47
Add trivial example Makefile and Phing binding. check-in: b2296bbcf9 user: mario tags: trunk
17:46
Compare STRINGIFY variants, #var, and custom glue operator ## workaround. check-in: 0e01733e6c user: mario tags: trunk
17:45
Add `constants` pragma, to make `constants`+`macros`+`complex` filterable prior substitution phase. Simplify ConditionState tracking further (rename states to ->act and ->end, omit ->level property arithmetics in favour of ->descend() and ->done() calls). check-in: 474c73df88 user: mario tags: trunk
2015-02-22
21:16
Add NEWS file, bump version, update cli --help summary, fix --force flag. check-in: 5181f5d6a3 user: mario tags: trunk, 0.1.9
15:20
Fix some manpage commentary and formatting. check-in: 1c976d03a8 user: mario tags: trunk
15:20
Add a few failing tests runs. check-in: 0222d96f1f user: mario tags: trunk
15:19
Support macro glue operator ## as suffix. Retrun invalid-as-directive (commented out) #include line/comments back. check-in: e301ca80e9 user: mario tags: trunk
2015-02-21
17:44
Test a few more expressions, probe for correct #define parsing. And add a simple self-test for on(). check-in: bdfa825b72 user: mario tags: trunk