Better HN
topnewbestaskshowjobs
Log inSign up

readabledotred

25 karma · joined Feb 9, 2019 (7y ago) · 12 submissions

I'm developping the Readable Human Format at readable.red
Submissions

comment 7y ago · link · parent

fun read and informative :)

2.

Blog-Based Language Design Process [pdf](adacore.github.io ↗)

1 points · by readabledotred · 7y ago · discuss

comment 7y ago · link · parent

Red is not about writing a parser for html, it's about creating DSL. As Brian Kernighan: said "Domain Specific Languages are smaller and simpler than mainstream general purpose #programming languages. That's pretty raisonnable. Thinking of building the next version of C++ not so reasonnable." https://www.youtube.com/watch?v=Sg4U4r_AgJU

comment 7y ago · link · parent

Oh I forget to say, actually you don't need to replace if you won't run a Red on the html script which I do through what I call html proxy https://redlang.red/html-proxy

I'll update the documentation because it will confuse people.

comment 7y ago · link · parent

I didn't do it for being exciting, I did it for being usefull like for documentation which is a nightmare in big corps projects where they invest dozens of millions euros each which 50% are wasted to wander though code trying to trace back to business requirements ;)

comment 7y ago · link · parent

Yes it is isn't a language it is a format which uses Red as natural processing engine, like json uses javascript language as its format.

comment 7y ago · link · parent

And what I present today about readable.red is just the core, I have many ideas in the tube for it, like adding many other tags for mindmapping & timeline (because I just need them) and since I cannot do all, I'll intend to create a plugin architecture for others to implement more amazing stuffs than me.

comment 7y ago · link · parent

I'm language agnostic, I don't care much about them, I just wants to get things done. Red have features that ease things like its unique parse engine https://redlang.red/parse-html which avoid regex headache (recently javascript recognized the problem and tried to add methods to ease parsing it's far from being as elegant as red. I don't remember the research paper from which Carl Sessenrath inspired fromn but it is clearly closer to natural language processing, though still not close enough in my opinion so I'm working on making a dialect that would almost feel the gap and allows anybody to create its own AI for example ;)

So at this stage for me, Red being in alpha stage (not even 1.0. yet and roadmap goes up to 2), you cannot use it like you would use nodejs. Tcp/ip has just being implemented, I hope to have something like async nodejs https server and an independant framework similar to express instead of full blown monolitic server but I don't know what the future will be.

But it is very usable for meta-programming stuff. readable.red is only one brick, I have other projects which will use red to generate code easily in other programming languages in much more friendly way that traditional DSL made for PHD people only ;)

comment 7y ago · link · parent

Red [] is the header, It shouldn't behave like this for just Red, I'll raise an issue, so for now you have to be carefull about that though if you don't write tutorials on Red the probability should be low. In the future, I'll make that replacement automatically as I doubt it will be fixed soon if ever the core team will do it.

10.

Getting started with Readable Human Format(readable.red ↗)

44 points · by readabledotred · 7y ago · 33 comments