Skip to content

Write a category-theoretic description #3

@colltoaction

Description

@colltoaction

At its core, yaml.yaml just wants to be a functor that maps between the yaml and lambda categories.


With yaml we get a human friendly data serialization standard for all programming languages. More specifically I see:

  • specification
  • syntax
  • (de)serializers
  • performance
  • community
  • advanced editors
  • online editors

On the other hand, the yaml spec is pretty dense and we don't want to deal with everything from the beginning.


The mapping to lambda is not just for the math, but we actually want to run software in a computer. In #2 I took a lambda calculus interpreter written in Rust and I was able to map simple documents to lambda terms.

A different approach could map between languages (transpiling). Haskell seems to be the closest but I'm not familiar with the syntax or tooling.

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