You are viewing archived messages.
Go here to search the history.

Mariano Guerra 2022-10-17 15:44:11

This weekend was spawnfest, a 48 hour BEAM Jam (Erlang, Elixir & other BEAM languages). I created dtu aka Data The Ultimate, a data format that, unlike YAML, allows to define pretty decent programming languages, below some links:

The short version is that it's a data format that makes it easy to define DSLs and translators, I implemented translators for subsets of CSS, HTML, JS and Erlang, enough of each to create a Todo MVC app in a single file, since all "dialects" have the same syntax and share code each one can "enter" another dialect and embed the result in the outer one in the way it makes sense.

For example, the style node will render the CSS in the body like here.

The CSS in the style attribute will render it inline as a string like here.

Erlang embeds HTML, CSS and JS inside Erlang as seen here, in this case the content is rendered as a string to be served as a response to a GET / request, you can see the result here.

Breck Yunits 2022-10-20 13:55:24

I have a new idea for doing links in Scroll (our extensible successor to markdown): github.com/breck7/scroll/issues/74

* If you want THESE THREE WORDS^^^ to be the link. A oneWord^ link.

 ^^^ someLink.html

 ^ [oneWordlink.com](https://oneWordlink.com)



// Has anyone seen this done before?
Patrick Flor 2022-10-20 15:59:52

How would you embed multiple N-word links for any N?

Patrick Flor 2022-10-20 16:02:12

Also, anything other than []() , which I always accidentally swap, would be better 😆

Breck Yunits 2022-10-20 18:58:47

"How would you embed multiple N-word links for any N?"

Breck Yunits 2022-10-20 18:58:58

Good question. I hadn't thought of thatI guess just by order of appearance.

Patrick Flor 2022-10-20 19:03:21

That might get a bit tricky under editing and reordering, I think.

Kartik Agaram 2022-10-22 02:31:16

Ted Nelson's idea was to give fragments addresses and attach links to fragment addresses: xanadu.com.au/ted/XUsurvey/xuDation.html (search for 'the content link')

Nilesh Trivedi 2022-10-21 06:31:46

Been improving my visual editor for compound graphs: grapherx.netlify.app . Recent additions: Undo/Redo, Multi-select, snap-to-grid, read-only mode etc.

This tool is now being used by the Foresight institute for their civilizational tech trees for domains like nanotech, neurotech, spacetech, longevity research, intelligent cooperation: foresight.org/tech-tree