From 26791cc4e869c066da5c1285dd13cc36fba7c627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Almada?= Date: Wed, 18 Nov 2015 10:40:20 -0300 Subject: [PATCH] remove "Roadmap" from README.md and point to issue instead #3 --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 89ab0a7..d9468ce 100644 --- a/README.md +++ b/README.md @@ -7,25 +7,7 @@ can be expressed in pure PHP code, and the implementation is fast enough). > Not ready for real world usage yet :bomb: -# Roadmap - -- [x] Literal matchers and expansions -- [x] Token type matchers and expansions like `T_TYPE·label`. Ex: `T_STRING·name` -- [x] Non deterministic greedy layer matching and expansion `{···label}`, `[···label]`, `(···label)` -- [x] Non dominant macros (macros that only expand if fully matched and never throw errors during matching) -- [ ] Dominant macros (macros that throw syntax errors if not fulfilled after a given entry point) -- [x] \(Partial) Expansion iteration like `·matched_scope ··· { ·a ·b ·c }` -- [ ] Make expansion DSL recursive -- [x] Disallow infinite recursion while expanding macros -- [ ] Add more high level parsers like `·expression()` or `·exp()`, `·word()`, `·list()` -- [ ] Allow operator precedence and infix macros declarations -- [ ] Allow macro importing between files like `use macro some\file{macro_name}` (right now macros are limited to be local per file) -- [ ] Global macros -- [ ] Support user defined parsers and expanders (add proper D.I for DSL lookups) -- [ ] **Real time mode**: pass included files through the preprocessor automatically - - [ ] Make it fast enough - - [ ] Composer integration -- [ ] Write more documentation [![Docs](https://img.shields.io/badge/documentation-0%-green.svg?style=flat-square)]() +[Roadmap](https://github.com/marcioAlmada/yay/issues/3). ## How it works @@ -68,7 +50,7 @@ macro { The expansion should be pretty obvious: ```php -// source | // expansion +// source | // expansion swap!($foo, $bar); | (list($foo, $bar) = [$bar, $foo]); ```