fastnlanguage is an alternative to XML/JSON for storing data.
fastnlanguage is designed for humans to write data. It tries to be as minimal as possible, intuitive and readable, no quote character for strings, avoid indentation etc.
-- record person: caption name: string location: optional body bio: -- person amitu: Amit Upadhyay location: Bangalore, India Amit is the founder and CEO of FifthTry.
Consider the above example where we have described our data as
notice we have type for each field. Notice also our types
like "heading of the data",
body, which lets people write multiline strings
without worrying about quoting or indentation etc.
ftd::p1grammar guide to understand the low level grammar better.
fastnalso supports referring to other
fastnfiles, so one can describe the schema or data in one file and refer it from other files.