> On 1 Apr 2018, at 16:43, Frank Heckenbach <f.heckenb...@fh-soft.de> wrote: > > I've now changed my grammars to use my new C++17 skeletons with > std::variant and move semantics. So far, it seems to work fine. > > As expected, they now contain a lot of "std::move ($n)" expressions. > Even though the simple case "$$ = std::move ($1)" is now covered by > the default action, most are actually within expressions such as > "$$ = make_foo (std::move ($1), std::move ($2))" which is less than > perfectly readable ...
Maybe Bison might support some additional symbol for move action values, like $$k.