Live data from Hacker News

Getting started with Readable Human Format

readable.red

31–36 of 36 posts

Re: Getting started with Readable Human Format

#31
post #21
post #9

Earlier quoted context omitted.

and I still don't get what's so special about it compared to the bunch of other embeddable languages (Lua, Tcl/Tk (which is 16MB in a batteries included package, mature, and shows why building a platform independent GUI into your language just doesn't age well)

16MB is >10x more than Red (batteries included) and also Red takes different approach to GUI - it's platform independent but with OS widgets - so it ages with OS, unlike custom solution. However, GUI is not the main point of Red, just a part of it. IMO the really special thing is it's ability to create and use dialects (DSLs) very easily, so the 1 MB package can handle tasks from device drivers, through GUI, to natur…

Unfortunately at the moment Red does not really include a lot of batteries (take a look at IO in their documentation)... Also what's the point of a platform-independent GUI-toolkit if you have to abstract a multitude of different OS-provided-libraries, when you could just use the library as is (which itself is an abstraction over the basic OS-rendering-primitives)?

Also could you elaborate what's so special about an DSL if all of these are locked into a specific syntax (or does the almighty red also include some super-easy grammar-description tools?)

Re: Getting started with Readable Human Format

#32
post #9

Earlier quoted context omitted.

and I still don't get what's so special about it compared to the bunch of other embeddable languages (Lua, Tcl/Tk (which is 16MB in a batteries included package, mature, and shows why building a platform independent GUI into your language just doesn't age well)

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…

Oh yeah, let's write a parser for html, because regex is too hard https://blog.codinghorror.com/parsing-html-the-cthulhu-way/

Re: Getting started with Readable Human Format

#34
post #17

Earlier quoted context omitted.

The linked article has never had anything to do with the article you linked to. The term ‘Red’ is used as a contraction by the ‘Readable Human Format’. It’s not clear to my why you think the previous title would be referring to a project other than the one that it linked to.

Red is the programming language I linked to. This Readable Human Format is an example of something you can do using the Red language that I linked to. This article on Readable Human Format makes you install the Red language I referred to: > Install only older version, for windows: https://static.red-lang.org/dl/win/red-063.exe

No. It’s not the same language.

This documentation processor is a different thing, even though it may be produced by the same people.

Re: Getting started with Readable Human Format

#36
post #32

Earlier quoted context omitted.

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…

Oh yeah, let's write a parser for html, because regex is too hard https://blog.codinghorror.com/parsing-html-the-cthulhu-way/

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
Post reply on HN