treenotation.org VS algebralang

Compare treenotation.org vs algebralang and see what are their differences.

algebralang

at this time this is some example code of a language I want to build (by samsquire)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
treenotation.org algebralang
7 2
16 6
- -
0.0 10.0
almost 3 years ago almost 2 years ago
JavaScript
- -
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.

treenotation.org

Posts with mentions or reviews of treenotation.org. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-25.
  • Jevko: a minimal general-purpose syntax
    30 projects | news.ycombinator.com | 25 Oct 2022
    > concatenating them changes the label for [b] from "a" to "z\na", and perhaps more damningly, erases the whitespace before "z". But, since none of the alternative formats (except ndjson and I guess plain uninterpreted binary, ASCII, or Unicode) is closed under concatenation, maybe that's less important.

    Yes, being closed under concatenation is a feature I was aiming for and it indeed does bring with it this issue.

    Just something to have in mind when devising formats. A simple solution here is to disallow having anything other than whitespace in the suffix of a Jevko with > 0 children. Then, if a format converts these labels to keys in a map, trimming leading and trailing whitespace, there is no problem. This is how I did it here:

    https://github.com/jevko/easyjevko.js

    > I don't know if you saw the last time this topic came up I linked to https://ogdl.org/, which seems pretty close to a minimal rose-tree notation.

    Yes, I've seen OGDL before. It's pretty nice. A similar one is https://treenotation.org/

    I have experimented with indentation-based syntaxes myself, before settling on brackets.

    I have found them to be problematic, at least because:

    * For complex structures they become less compact.

    * A grammar that correctly captures significant indentation can't really be written in pure BNF. The way OGDL does it is this:

      [12] space(n) ::= char_space*n ; where n is the equivalent number of spaces (can be 0)
  • Syntax Design
    9 projects | news.ycombinator.com | 18 Oct 2022
    This reminds me a bit of Breck Yunits' Tree Notation (https://treenotation.org/). Both seem to have a ~totalizing energy. Maybe some common cause. :)
  • ELI5
    1 project | /r/treenotation | 14 May 2021
    Hi, I'm a programmer and I've used quite a few different languages in my career. I've never studied compilers or language design, however it has always interested me from afar. Also I've always had a strong preference for simple syntax, what sane person wouldn't? Anyway I've scanned over the https://treenotation.org/ site. I get the general gist, that this provides a tool to easily create languages that use tree notation. Unfortunately I still don't really understand how to use it. If there was tutorial that held your hand that would be really useful. I suspect there a large number of people like myself that would benefit from this. Perhaps at some point I'll role up my sleeves and do it myself, but I'm sure someone else could do a better job.
  • Google Docs will move to canvas based rendering instead of DOM
    16 projects | news.ycombinator.com | 12 May 2021
    > The way to fix this trend would be to reimagine the presentation layer of the browser as something other than a stack of hacks over hypertext, but so far nobody seems to have a good solution.

    About a decade ago I had the start of a Eureka moment on how to do this (back then — https://medium.com/space-net/spacenet-51aca95d49a2, nowadays https://treenotation.org/). It seems to me we've missed a sort of fundamental universal notation of the universe, which you can think of as "two-dimensional binary". I predict we will soon see a Cambrian Explosion of new formats and notations that are simpler and more interoperable with each other, and some will have the opportunity to build new great languages for rendering stacks.

  • Zig, Parser Combinators – and Why They're
    7 projects | news.ycombinator.com | 10 Mar 2021
    Awesome app. Do you plan on using it for anything in particular? Or are you just creating it as a passion project. It's totally cool.

    Learning about https://treenotation.org/ (linking this for other people, not for you, Breck :P), and I like what I see. My first impression was "Lisp, but with python indenting"

    > We no longer need to store our data in error prone CSV, XML, or JSON. Tree Notation gives us a simpler, more powerful encoding for data with lots of new advanced features

    This is the one thing I didn't understand! Tree notation seems equivalent to these. Like at a certain level, it's all just data. Now, the major benefit is that you're supposed to think differently about what you're doing when using tree notation. Would love to hear your opinion about this conjecture.

  • The Pretty JSON Revolution
    4 projects | news.ycombinator.com | 23 Feb 2021
    Lots of code examples here: https://jtree.treenotation.org/designer/

    And the source for that homepage is here: https://github.com/treenotation/treenotation.org

    Always open to PR!

algebralang

Posts with mentions or reviews of algebralang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-19.
  • Software Mimicry
    3 projects | news.ycombinator.com | 19 Nov 2022
    I experiment with programming language theory and designs as a hobby and one of my thoughts is that the core underlying problem of computing is an arrangement problem of a turing machine. Compiling is "planning what you shall do". Execution is "doing". We have the luxury of many ways of doing things in computing. But it all seems to lead to mess of poor understandability and complexity.

    What am I trying to say? OOP inheritance hiarchy trees are limited and not what you really want to do to represent your problem. I want to define a situation or scenario and define what should happen in that scenario. This is where asynchronous programming and join calculus shines. I also like occam-pi's select statement and golang's select. I also feel every computing problem is the "expression problem" manifested. How do you associate behaviour (what to do) with a type (a situation)? And how do you define them so you don't have to reimplement all the previously existing behaviours with the new thing?

    The next section shall be reductive.

    Ultimately all loops, function application, methods, expressions, variables, classes, functions, lists, vectors, data structures, algorithms exist as "things" in the imagination of the developer's mind and the compiler. They don't exist in machine code.

    We have a grid of memory locations and the arrangement of things in that grid is handled by a memory allocator. We also have references in this grid as pointers, which form a structure of their own. A turing machine.

    Thinking of a type and behaviour as being solely one thing only at a time is inherently limiting. I often want to see different things "as" something else to talk about them in a slightly different approach. A vector or ArrayList of objects of multiple types but processed in the same approach, efficient compile time polymorphism.

    This is kind of how I imagine object orientated development to really be about, I want to be capable of referring to an arbitrary selection of objects and define new behaviours or relations between the objects. Unfortunately most OOP ties imperative behaviour and stateful manipulation to data rather than modify exhibited behaviours of objects. Imagine being capable of organising and managing load balancers and draining them and devops architecture with code. A point and click GUI where I can right click a load balancer and click drain. (I don't mean code to bring them up or create them but to actually administrate them with OOP)

    I think the expression problem is a core problem of modern computing and doesn't have an efficient solution.

    We can decouple data structure, layout and algorithm. Unfortunately most programming languages couple data structure + layout (C) and OOP languages couple algorithm with layout. Functional programming languages I'm not sure about.

    I called this idea of software mimicry as branching libraries in my ideas document (link in profile)

    I've been working with C++ templates today with C++20 coroutines and multithreading and I am finding template instantiation very interesting. I've been late to come around to it.

    This comment mentioned the insight that boxing and template instantiation are related. https://news.ycombinator.com/item?id=14764780

    I am also working on a multithreaded programming language which looks similar to Javascript. I use an actor implementation that can send messages between threads.

    https://github.com/samsquire/multiversion-concurrency-contro...

    One of my programming language designs is the idea that every line of code is a concurrent process and data flow is scheduled by topological sorting. Iteration is handled automatically for you. Every variable is actually a relation and algebraic definition of relations between processes. This is called algebralang. https://github.com/samsquire/algebralang

    The idea is that you write the underlying insight into the problem as an expression of what you want to do and let the computer schedule the ordering or arrangement of operations to do it. It's a form of pattern matching on the state of things (objects in the system) and declaration of the desired result. This brings to mind the rete algorithm (expert systems) and differential dataflow.

  • Syntax Design
    9 projects | news.ycombinator.com | 18 Oct 2022
    I began designing a language that handled handled recursion and iteration as relations between variables which are topologically sorted to determine control flow.

    Each function is a toplogical graph of stream functions so it is similar to a data flow language or reactive programming language. The goal is that you should express the critical insight of the algorithm to work out what to write and the code is not nested so there is very little tree structure.

    Algebralang is rough notes on how it would appear.

    https://github.com/samsquire/algebralang

    Example programs in the repository are binary search, btrees, a* algorithm.

    I wrote a multithreaded parallel actor interpreter in Java and it uses an invented assembly language which doesn't have a bytecode, it's just text.

    I like the ideas behind ani language

What are some alternatives?

When comparing treenotation.org and algebralang you can also consider the following projects:

x-spreadsheet - The project has been migrated to @wolf-table/table https://github.com/wolf-table/table

tree - A Data Modeling Programming Language

binary-experiments - Experiments with various binary formats based on Jevko.

tutorials - Tutorials related to Jevko

markup-experiments - A collection of experiments with Jevko and text markup.

multiversion-concurrency-contro

zhp - A Http server written in Zig

easyjevko.lua - An Easy Jevko library for Lua.

parsejevko.js - [DEPRECATED] Deprecated in favor of https://github.com/jevko/jevko.js

xabber - Root project for all Xabber related software projects

multiversion-concurrency-control - Implementation of multiversion concurrency control, Raft, Left Right concurrency Hashmaps and a multi consumer multi producer Ringbuffer, concurrent and parallel load-balanced loops, parallel actors implementation in Main.java, Actor2.java and a parallel interpreter