sexp VS nestedtextto

Compare sexp vs nestedtextto and see what are their differences.

sexp

S-expression swiss knife (by janestreet)

nestedtextto

CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting (by AndydeCleyre)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
sexp nestedtextto
3 5
42 16
- -
5.4 9.3
4 days ago 8 days ago
OCaml Python
MIT License Do What The F*ck You Want To Public License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sexp

Posts with mentions or reviews of sexp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.

nestedtextto

Posts with mentions or reviews of nestedtextto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-12.
  • The yaml document from hell
    8 projects | /r/programming | 12 Jan 2023
    I used the official reference implementation to make a CLI converter between NestedText and TOML, JSON, and YAML. When generating one of these formats, you can use yamlpath queries to concisely but explicitly apply supported types to data elements.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    I'm a huge fan of NestedText, especially as there is no escaping needed ever.

    If you ever want to use it as a pre-format to generate either TOML, JSON, or YAML, I used the official reference implementation to make a CLI converter between them and NestedText.

    When generating one of these formats, you can use yamlpath queries to concisely but explicitly apply supported types to data elements.

    - My CLI converter: https://github.com/AndydeCleyre/nestedtextto

    - yamlpath info: https://github.com/wwkimball/yamlpath/wiki/Search-Expression...

  • A practical issue with YAML: your schema is not documentation
    1 project | news.ycombinator.com | 17 Dec 2022
    In case you're interested and haven't seen it, I've become a big fan of NestedText, which is similar to YAML but without the complicated parts, and without types (just strings, lists, and dicts). The idea is that any meaningful validation and coercion belongs in code anyway. An extra cool part is that nothing ever needs to be escaped, so the content is super clean and unambiguous.

    If you want to play around with it, I made NestedTextTo (nt2 on PyPI), for CLI conversion between NestedText and YAML, TOML, or JSON, with a pretty cool (IMO) way to cast value types along the way.

    https://nestedtext.org/en/stable/ (not my project)

    https://github.com/AndydeCleyre/nestedtextto (my project)

  • How do you yaml
    1 project | /r/devops | 23 Nov 2022
    I recently fell in love with the NestedText format, and whipped up a CLI for conversions between it and YAML (and JSON and TOML), so now whenever manually viewing those other formats I pipe it through into readable NestedText. In this example, the result is identical to format A.
  • nt2: a CLI converter between NestedText and JSON, YAML, or TOML
    2 projects | /r/Python | 3 Oct 2022
    So I made nt2 (NestedTextTo) (install from PyPI as nt2[toml] for TOML support).

What are some alternatives?

When comparing sexp and nestedtextto you can also consider the following projects:

sexplib - Automated S-expression conversion

json5 - JSON5 — JSON for Humans

lua-sandbox - A lua sandbox for executing non-trusted code

hobbes - A language and an embedded JIT compiler

cels - Command line tool to patch your YAML, JSON and TOML files.

sxpyr - Parse s-expressions, edn, and a variety of lisp dialects.

strictyaml - Type-safe YAML parser and validator.

clj-kondo - Static analyzer and linter for Clojure code that sparks joy

hjson - Hjson, a user interface for JSON

json5-spec - The JSON5 Data Interchange Format