🧹 Decluttered the Jevko website a bit by moving the experimental stuff out:

https://jevko.org/

#Jevko #decluttering #website #minimal #syntax #simple #format #xml #json #toml #yaml #html #jdaml

Jevko: simply encode data

Been working some more on the #document #format. Added #interactivity. Now it's possible to use #JDAML in #JS also for runtime, not just build time.

I took all the problems described in this paper https://arxiv.org/abs/2310.04368 as challenges and implemented enough #features that they could be solved.

Also added some more #syntax #sugar -- paragraph inference and [=expr] syntax for substitution, to cut down on the nested brackets. I think it's looking good already.

What do you think?

A Core Calculus for Documents

Passive documents and active programs now widely comingle. Document languages include Turing-complete programming elements, and programming languages include sophisticated document notations. However, there are no formal foundations that model these languages. This matters because the interaction between document and program can be subtle and error-prone. In this paper we describe several such problems, then taxonomize and formalize document languages as levels of a document calculus. We employ the calculus as a foundation for implementing complex features such as reactivity, as well as for proving theorems about the boundary of content and computation. We intend for the document calculus to provide a theoretical basis for new document languages, and to assist designers in cleaning up the unsavory corners of existing languages.

arXiv.org

I think #Jevko / #JDAML is pretty perfect for rapidly exploring stuff like this and I think #Znatchke + #JS can grow to be a viable document format.

I'd love to #research this stuff further. Now all I need is #funding... Fortunately, that's easy to get, especially in this #niche. You wouldn't believe how many zeroes are on the sum of #money I've gotten over the years of working on this stuff. Hint: it's a single-digit number.

So anyway, anybody want to buy me a #coffee or something yet? :D

Also been #experimenting with mixing some #JavaScript into it.

TBH I'd use #JDAML over #JSX in #JS any day.

Using \ as the delimiter makes it pretty easy to integrate into the syntax of JS. Also it adds some superpowers to JS for free, such as fenced strings.

Anyway for now this is it. Hope you have #fun with #Jevko and #JDAML and let me know if you find any #bugs or have any #feedback.

Happy #2024!

BTW https://jevko.github.io/ is now a mirror of https://jevko.org

In fact right now it contains the #future #refreshed version of jevko.org which hopefully does a better job at describing #Jevko.

It also features #JDAML and I put a draft specification for Jevko #extensions there:

https://jevko.github.io/extensions.html

(most importantly for #Markdown-like fenced text)

This new Jevko website should be live soon after the #2023 calendar goes into the ♻️ 🗑️ .

Jevko

I've been working intensely on #JDAML for a few weeks now.

I put together an online #demo / #PoC which shows how it maps to and from #JSON, #XML, and #HTML

https://jevko.github.io/jdaml

It's still very much #WIP and things may break, but the basics are in place.

If anybody would like to play around with the early version, be my guest! #Feedback welcome!

NB here is the #YAML #document from #hell [0] encoded in #JDAML.

I'm designing #JDAML to eliminate the risk of accidental interpretation. Unless a leaf value is clearly explicitly marked in a predictable manner, it will be interpreted as a #string.

So no #norwayproblem, no #sexagesimal or other weird number literals. No #anchors, #aliases, or #tags. No accidental non-string keys, no accidental numbers.

[0] as described by Ruud van Asseldonk in this article: https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell

The yaml document from hell

As a data format, yaml is extremely complicated and it has many footguns. In this post I explain some of those pitfalls by means of an example, and I suggest a few simpler and safer yaml alternatives.

Working on a #new #jevko #format #codename #JDAML.

Kinda like #XML, but much more #flexible -- works equally well for #data, #configuration, and #markup.

What do you think? Is it readable?