Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate should handle variables as part of pipeline #67

Open
willkg opened this issue Sep 24, 2015 · 0 comments
Open

translate should handle variables as part of pipeline #67

willkg opened this issue Sep 24, 2015 · 0 comments

Comments

@willkg
Copy link
Member

willkg commented Sep 24, 2015

dennis-cmd translate has a --varformat flag, but there are two problems with that:

  1. it's ignored by most of the transforms
  2. it should be like html where it breaks the token stream into mutable and immutable parts

I think instead of having it as a separate flag, we should change it so that it's passed as part of the pipeline. Something like this should work:

% dennis-cmd translate -p python-format,shouty -s "omg %(foo)s!
OMG %(foo)s!
@willkg willkg modified the milestone: 0.8 Nov 5, 2016
@willkg willkg modified the milestones: v0.8: fix the parsing pipeline, v0.9 fix the parsing pipeline Jan 4, 2017
@willkg willkg removed this from the v0.10 clean up project milestone May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant