Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Redesign syntax as a proc macro #170

Open
brson opened this issue Jul 24, 2017 · 2 comments
Open

Redesign syntax as a proc macro #170

brson opened this issue Jul 24, 2017 · 2 comments
Milestone

Comments

@brson
Copy link
Contributor

brson commented Jul 24, 2017

There are a lot of deficiencies with the current syntax that are pretty hard to resolve as a macro_rules macro:

This is a lot of constraints and demands a complete redesign.

@Yamakaky
Copy link
Contributor

Maybe take inspiration from/merge with https://github.com/Arnavion/derive-error-chain

@Arnavion
Copy link

Arnavion commented Aug 7, 2017

Previous discussion of merging derive-error-chain into this repository is at Arnavion/derive-error-chain#11

If the goal is to completely replace the existing macro_rules macro with a custom derive, then my concerns in that issue do not apply and I would be happy to merge its code here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants