Remix.run Logo
lispitillo a day ago

Perhaps instead of coding many small one day projects one could program one day projects that compose with each other. For example, I was thinking about developing a library that implements a version of J in Common Lisp (but I think fuel is lacking) so that, for example, the one day project named random-sample could be just:

  randomSample =: 4 :'(x ? #y){y' NB. can't repeat.

  randomSample =: 4 :'(? x # #y){y' can repeat.

 So that, in many cases,  one day projects could be reduced to one or two lines definitions (for those that know J that is the caveat).
monospacegames a day ago | parent | next [-]

I think they're showcasing existing projects instead of making a new one each day.

lispitillo a day ago | parent [-]

Thanks, it seems you are right. The random-sample project seems so short that I thought it was a one day project and that the other would be also short projects.

v9v a day ago | parent | prev [-]

Not J, but there is an APL compiler made in Common Lisp here: https://github.com/phantomics/april

lispitillo a day ago | parent [-]

Thanks for the April reference. In the post [1] there are just 11 comments and also it seems that the intended audience could maybe two dozen people!, not very encouraging to create a J in Common Lisp.

[1] https://news.ycombinator.com/item?id=22225136