forked from z80dev/dasy
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
dumb?might be a bad idea but lets not throw it away yetmight be a bad idea but lets not throw it away yet
Description
Implement as a macro that just does syntax transformation
(defn foo [:address a b :uint256 x y] :internal :uint256
(return (+ y (* x 4)))could then be called with a dict obj of key-value pairs of named arguments and their values
(foo addr1 addr2 10 20)
(foo #{a addr1 b addr2 x 10 y 20})
;; can indent for clarity
(foo #{a addr1
b addr2
x 10
y 20})alternative syntaxes could be
(foo @a addr1 @b addr2 @x 10 @y 20)
(foo {a addr1} {b addr2} {x 10} {y 20})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dumb?might be a bad idea but lets not throw it away yetmight be a bad idea but lets not throw it away yet