Category:Tailspin: Difference between revisions

Content added Content deleted
(Update tailspin language description)
mNo edit summary
 
Line 11: Line 11:
Despite the grounding in business data processing, Tailspin turns out to be fun to use and has been
Despite the grounding in business data processing, Tailspin turns out to be fun to use and has been
used for the [https://adventofcode.com/ adventofcode] events of [https://github.com/tobega/aoc2018 2018]
used for the [https://adventofcode.com/ adventofcode] events of [https://github.com/tobega/aoc2018 2018]
and [https://github.com/tobega/aoc2019 2019]
, [https://github.com/tobega/aoc2019 2019] and [https://github.com/tobega/aoc2020 2020]


The inspiration comes mostly from xslt, but data structures are json-like. The main idea is to let your data flow through a series of transforms so it should be easy to specify that flow. Transform steps can be specified as a set of templates with pattern-matching determining which template to apply. Output is generally specified as literals with interpolation of values.
The inspiration comes mostly from xslt, but data structures are json-like. The main idea is to let your data flow through a series of transforms so it should be easy to specify that flow. Transform steps can be specified as a set of templates with pattern-matching determining which template to apply. Output is generally specified as literals with interpolation of values.