digitalmars.D - We simply must implement this for D to stay competitive
- Walter Bright (1/1) Jun 20 2015 https://github.com/rollbear/basicpp
- Baz (4/5) Jun 20 2015 This leads to this classic, the original Bourne shell ALGO-izer
- Abdulhaq (2/3) Jun 21 2015 I had a Video Genie in my youth too, I loved it :-)
- Iain Buclaw via Digitalmars-d (6/7) Jun 21 2015 Fun fact using macros:
- Dennis Ritchie (4/9) Jun 21 2015 Even I fell for this trick :)
- Sean Campbell (2/3) Jun 21 2015 https://gist.github.com/jcromartie/238308
- ketmar (4/5) Jun 23 2015 this is doable with Adam's "jsvar.d" and compile-time parser. parser=20
On Saturday, 20 June 2015 at 22:38:30 UTC, Walter Bright wrote:https://github.com/rollbear/basicppThis leads to this classic, the original Bourne shell ALGO-izer macros: http://minnie.tuhs.org/cgi-bin/utree.pl?file=2.11BSD/src/bin/sh/mac.h
Jun 20 2015
On Saturday, 20 June 2015 at 22:38:30 UTC, Walter Bright wrote:https://github.com/rollbear/basicppI had a Video Genie in my youth too, I loved it :-)
Jun 21 2015
On 21 June 2015 at 00:38, Walter Bright via Digitalmars-d < digitalmars-d puremagic.com> wrote:https://github.com/rollbear/basicppFun fact using macros: #define SIX 1+5 #define NINE 8+1 printf("What do you get if you multiply six by nine? %d\n", SIX * NINE);
Jun 21 2015
On Sunday, 21 June 2015 at 10:26:03 UTC, Iain Buclaw wrote:Fun fact using macros: #define SIX 1+5 #define NINE 8+1 printf("What do you get if you multiply six by nine? %d\n", SIX * NINE);Even I fell for this trick :) #define square(x) x * x square(5 + 1);
Jun 21 2015
On Saturday, 20 June 2015 at 22:38:30 UTC, Walter Bright wrote:https://github.com/rollbear/basicpphttps://gist.github.com/jcromartie/238308
Jun 21 2015
On Sat, 20 Jun 2015 15:38:29 -0700, Walter Bright wrote:https://github.com/rollbear/basicppthis is doable with Adam's "jsvar.d" and compile-time parser. parser=20 needs to be written, though. i did that once, but found BASIC too=20 complicated and retreated to D.=
Jun 23 2015