Skip to content

Releases: BonnyAD9/place_macro

Place-macro v1.0.0

22 Dec 21:40
Compare
Choose a tag to compare

The full release!!

  • Fixes
  • Proper error handling
  • Proper arguments to to_case macro

place-macros v0.1.3

03 Sep 20:45
Compare
Choose a tag to compare

The first github release!!!

Macros

  • place: expands the following macros in reverse order, see readme
  • ignore: expands to nothing
  • identity: expands to what is given, it bypasses the reverse order in the
    place macro
  • dollar: expands to dollar sign $
  • string: concats the contents into single string, see the doc
  • identifier: concats the contents into sintle identifier in the same way as
    string
  • head: expands to the first token
  • tail: expands to all but the first token
  • start: expands to all but the last token
  • last: expands to the last token
  • reverse: expands to the tokens in reverse order
  • stringify: expands to string of the input
  • replace_newline: replaces all newlines and folowing whitespace in literal
    with the given literal
  • str_replace: replace in string literal