phrep

Timeline
Login

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

50 most recent check-ins

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