Pantagruel v0.0.5 Pantagruel.Scan.Macros View Source

Link to this section Summary

Functions

Replace pattern wherever it is found with replace

When pattern is surrounded by some delimiters, replace it with replace

Link to this section Functions

Link to this macro are_delimiters(l, r) View Source (macro)
Link to this macro defreplace(pattern, replace) View Source (macro)

Replace pattern wherever it is found with replace.

Link to this macro defreplacedelim(pattern, replace) View Source (macro)

When pattern is surrounded by some delimiters, replace it with replace.

Used to isolate keywords and complex operators so they’re not caught in longer strings.