Skip to content

Commit

Permalink
remove "Roadmap" from README.md and point to issue instead #3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcioAlmada committed Nov 19, 2015
1 parent a8a374a commit 26791cc
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -68,7 +50,7 @@ macro {

The expansion should be pretty obvious:
```php
// source | // expansion
// source | // expansion
swap!($foo, $bar); | (list($foo, $bar) = [$bar, $foo]);
```

Expand Down

0 comments on commit 26791cc

Please sign in to comment.