Measures Concepts
GitHub icon

YAMP

YAMP - Data notation

< >

YAMP, aka Yet Another Macro Processor, is a data notation created in 2019.

Source code:
git clone https://github.com/birchb1024/yamp
#1893on PLDB 5Years Old

Yet Another Macro Processor - for YAML - Superseded by Goyamp


Language features

Feature Supported Token Example
Macros ✓
- defmacro:
  name: foo
  args: [who]
  value:
      Hello: who
- foo:
  who: World
Sets ✓
# Explicitly typed set.
baseball players: !!set
  ? Mark McGwire
  ? Sammy Sosa
  ? Ken Griffey
# Flow style
baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees }
Comments ✓
Line Comments ✓
# A comment
Semantic Indentation ✓

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout