Live data from Hacker News

Show HN: Rant, a procedural text generation language

github.com

1–10 of 37 posts

Re: Show HN: Rant, a procedural text generation language

#3

Sorry, newbie here. Is there some sort of way to keep a reference to a generated term? For example if I generated the name "Mike" and wanted to use that same name several times.

Absolutely! Try this out: , , ,

This is called a match carrier. https://github.com/TheBerkin/Rant/wiki/Query-carriers

Re: Show HN: Rant, a procedural text generation language

#6
Very cool! I attempted a very primitive version of this for generating band names[1]. Now I'm tempted to port it to Rant :) One bit of advice though - the "getting started" section could be a bit more helpful for new users... it should at least mention the language it's written in (C#)!

[1] https://github.com/dandelany/band-name/blob/master/templates...

Re: Show HN: Rant, a procedural text generation language

#8

Very cool! I attempted a very primitive version of this for generating band names[1]. Now I'm tempted to port it to Rant :) One bit of advice though - the "getting started" section could be a bit more helpful for new users... it should at least mention the language it's written in (C#)! [1] https://github.com/dandelany/band-name/blob/master/templates...

Hey! Your comment was a little vague in what you wanted, but we wrote a little extra documentation. Let us know if it's not what you needed. https://github.com/TheBerkin/Rant/wiki/Getting-started

Re: Show HN: Rant, a procedural text generation language

#10
Maybe not bad, definitely has few very cool features (rhymes impressed me), but I'm struggling to imagine when I'd actually need to use it. Sometimes I do need some random natural language text for testing, but then I usually just copy something from wikipedia or some book and it's guaranteed to be more random and more natural than anything I'd generate myself. No, hardly I'll ever need to generate natural-language sentences using this. Generating something more primitive, like random IPs? Well, if I need few I hardly would struggle to remember syntax (or even name) of some tool I downloaded long time ago and never used since, or I need many structured data of some sort and then it's almost certain that using this DSL wouldn't be enough or simply practical, and I'd end up using Python (which already has libraries for generating random data anyway).

Edit: to guys who are actively minusing this comment, I would be grateful if somebody could actually suggest any use case.

Post reply on HN