bjevko: a new binary variant of Jevko optimized for simple parsing is 19 lines of python code:
https://github.com/jevko/bjevko/blob/master/bjevko.py
spec draft here:
https://github.com/jevko/bjevko/blob/master/spec.md
also outlined there is an ultra-compact variant, possibly typed;
#binary #syntax #minimal #jevko
Daily #jevko as code snippet:
```
+ [
* [
[3]
+ [
* [[2][4]]
+ [[3][5]]
]
]
+ [
- [[10][7]]
[6]
]
]
```
Translated from SICP, page 7.
The recent article by Ruud van Asseldonk "The yaml document from hell"[0] that was linked by Tim Bray here on Mastodon[1] gave me an idea for an article:
What would happen if we translated the pieces of YAML in that article into Jevko and compared the result?
I started drafting it here: https://github.com/jevko/writing/blob/main/draft-2023-01-14-jevko-vs-yaml.md
What do you think?
[0] https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell
[1] https://hachyderm.io/@timbray/109684432097093279
#comparison #yaml #article #syntax #minimal #jevko
Jevko comes from the place of radically minimalist thinking, where maximum simplicity is the goal.
One way to move towards that goal is identifying inessential complexity and removing it.
Achieving maximum simplicity at the level of fundamental building blocks shall lead to similarly simpler designs: the simplicity propagates.
Less inessential complexity opens up space, potential energy in the system, to be utilized when needed.
When not needed, just chill.
## Jevko parser in Nim by torupediron
[@torupediron@codeberg.org](https://codeberg.org/torupediron) has created a [Jevko parser in Nim](https://codeberg.org/torupediron/jevko.nim)! Way cool!
#jevko #minimal #syntax #news #official #vscode #extension #parser #nim #nimlang #json #xml #html
#html #xml #json #nimlang #nim #parser #extension #vscode #official #news #syntax #minimal #jevko
Created https://github.com/jevko/community -- a place to feature various Jevko-related things (including Jevko parsers in different languages) created by various authors. Contributions welcome!
#jevko #syntax #community #contributions
Holy smokes, Jevko is on Hacker News!
Recently working on Jevko libraries for Lua:
https://github.com/jevko/jevko.lua
https://github.com/jevko/easyjevko.lua
Now available at luarocks.org:
https://luarocks.org/modules/jevko
#jevko #lua #library #syntax #parsing #grammar #tree #serialization #minimal #simple #lightweight #easy #easyjevko
#jevko #lua #library #syntax #parsing #grammar #tree #serialization #minimal #simple #lightweight #easy #easyjevko
Added spec and interactive railroad diagrams to jevko.org:
https://jevko.org/spec.html
https://jevko.org/diagram.xhtml
#jevko #specification #diagrams #interactive #syntax #minimal #grammar #ebnf #abnf #bnf
#jevko #specification #diagrams #interactive #syntax #minimal #grammar #ebnf #ABNF #bnf
As a test and to have a little fun with the https://en.wikipedia.org/wiki/Droste_effect I wrote a Jevko parser in Jevko: https://github.com/jevko/jevkalk/blob/master/parseJevko.test.js
#droste #drosteeffect #jevko #parser #test #jevkalk
Recently working on:
* A Jevko-based interpreted language called Jevkalk: https://github.com/jevko/jevkalk
* Created easyjevko.js, a library for a simple format built on Jevko: https://github.com/jevko/easyjevko.js
#jevko #language #jevkalk #interpreter #programming #format #easyjevko #format
#jevko #language #jevkalk #interpreter #programming #format #easyjevko
#kubernetes #config translated from #yaml to #jevko
(config from https://kubernetes.io/docs/concepts/configuration/configmap/)
#minimal #syntax rocks
#kubernetes #config #yaml #jevko #minimal #syntax