Skip to content

What if canonical source representation was binary encoded like wasm itself #2

@Gozala

Description

@Gozala

Hi,

I just came across forst-lang as I was exploring some of my own programming language ideas. Idea of decoupling syntax choice from from language choice especially resonates with me, at the end of the day it's not more important that choice of an editor or pallet for syntax highlighting. In fact John McCarthy envisioned Lisp as such and expected different representation could have being used based on domain of the problem program would be aimed to solve. Sadly that vision did not materialized.

Another angle at which I have being thinking about this is of a language where modules could directly be saved / hosted in content addressable distributed network like https://ipfs.io/ from that angle it would make so much sense for language representation to be agnostic of spacing or definition order to make content addressing free of human factors like sense of esthetics. For example unfortunately exactly same JSON data could end up having different content address depending on how it was formatted or sorted.

In my own exploration I end up concluding that choosing binary representation over textual would organically make syntax a user choice and alternative presentation of it could be created. I thought I throw this out here especially since concept of forst-lang seems to align closely with my what I'd like from the language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions