Ppx ideas
Open
Nobody has claimed this yet.
enhancement
syntax extension
- Dominant language
- OCaml
- Stars
- 179
- Forks
- 63
- Avg merge
- 5h
- Merged PRs (30d)
- 22
Description
I'm not sure those are good ideas, but we can at least think about them. :)
- Allow to write
[%html "<foo>" bar ; baz "</foo>"]
instead of
[%html "<foo>" [bar ; baz] "</foo>"]
It's probably far too clever and irregular for its own good. - Allow slicing directly inside the text with some
%barsyntax.
[%html "<foo>%bar</foo>"]
instead of
[%html "<foo>"bar"</foo>"]
Would be convenient to avoid constant quoting-unquoting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue proposes two speculative PPX syntax changes, illustrated with [%html] examples for omitted brackets and inline %bar interpolation. Start by reviewing these examples and the surrounding PPX behavior; a concrete syntax decision and acceptance criteria are needed before completion can be defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100