Márcio Almada

Results 20 issues of Márcio Almada

Better names for cache files. This avoids collision when using repeated file names in different directories. Ex: Cache for both files `/var/www/views/products/index.jade` and `/var/www/views/users/index.jade` would be stored in same cache...

Sometimes the log line parser fails when logged message is a complex nested SQL or a complex nested JSON string. - [x] Add a failing test case with the "hard"...

- [x] Pick a more ergonomic composition identifier (instead of middle dot ·), before the DSL leaves draft state. Done: `$(` and `)` - [x] Literal matchers and expansions -...

Should allow to activate pre processing of every included file. - [x] A stream wrapper should be available for single file inclusion: ``` php include 'yay://some/file.php'; ``` - [ ]...

important

Engine integration should come through a small php extension bridge instead: https://github.com/marcioAlmada/xray Reasons: - hijacking the composer auto loader and passing things through a stream wrapper is not sustainable enough....

important

The idea is to use a `·requires` tag that must be evaluated before the macro "compilation". Macro will be skipped in case the expression is false: ``` php macro ·requires(version_compare(PHP_VERSION,...

enhancement

Macro tags are flags that serve as meta information #4. Turns out it may be a good thing to allow macro tags to have arguments: ``` php macro ·name('MyMacro') {...

enhancement
easy pick

:/ No idea how to design procedural macros without exposing the raw token stream API. Discussion on Rust internals already proved it's a bad idea because macros become unstable too...

I'm trying to use gsouv on Kubernetes. Gosuv is monitoring a service that puts log entries to stdout, but I can't find a way to make gosuv itself to redirect...