enoauthor: Jane Doe
email: jane@eno-lang.org
-- my_content
Multi-line embedded content (e.g. markdown) here ...
-- my_content
states:
active = #fff
hover = #b6b6b6
# cities
Den Haag: 52.069961, 4.302315
Málaga: 36.721447, -4.421291
서울특별시: 37.566984, 126.977041
# cities expanded < cities
Springfield: 38.790312, -77.186418
Overview:
Usecases:
javascriptimport enolib from 'enolib';
const document = enolib.parse(`
author: Jane Doe
title:
`);
document.field('author').requiredStringValue();
// returns 'Jane Doe'
document.field('title').requiredStringValue();
// throws "The field 'title' must contain a value.
//
// Line | Content
// 1 | author: Jane Doe
// > 2 | title:
//
Overview:
Usecases:
javascriptimport { latLng } from 'enotype';
latLng('36.721447, -4.421291');
// returns { lat: 36.721447, lng: -4.421291 }
enolib.register({ latLng });
document.section('cities').field('Málaga').requiredLatLngValue();
// returns { lat: 36.721447, lng: -4.421291 }
enotype is a collection of functions that convert unsafe string
input to safe, native types. It is the standard type library for enolib but can be utilized in a multitude of other contexts as well.
tree-sitter-eno - Tree-sitter parser for eno (usable with C, C++, Rust, WebAssembly, JavaScript, Python, Ruby, Haskell)
enophp - Official PHP library (compliant with eno first, see below)
enotcl - Tcl parser
Enohar - (Incomplete) Java library for parsing and emitting Eno documents
eno first - Legacy ecosystem and documentation for eno's first specification