From: Mike D. Lowis Date: Tue, 6 Mar 2012 01:56:27 +0000 (-0500) Subject: Implemented hash map syntax X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ba1c1ab68bcb3ec05232dad9e77de9fc43481cca;p=archive%2Fdlang.git Implemented hash map syntax --- diff --git a/example.dl b/example.dl index c3a4a72..7b4b898 100644 --- a/example.dl +++ b/example.dl @@ -47,7 +47,8 @@ foo = { $stuff : 3 + 3 } -#% if [ -# (Ex Bk) : exec_if($1, $2), -# (Ex Bk Bk) : exec_if($1, $2, $3) -#] +# Macro +% if [ + (Ex Bk) : exec_if($1, $2), + (Ex Bk Bk) : exec_if($1, $2, $3) +]