> You might consider supporting full type declaration syntax, i.e.:
>
> @defwithvals type emp
> age=0
> salary=1
> end
>
> (Though perhaps this is what Mauro's Parameters.jl package does?)
Yes (and extra bits)
>
> Q1) where to find julia macro tutorials (beyond the standard manual)?
I'm not aware of any tutorials, but there were several JuliaCon talks that
are related to some of the nittier details if you are interested [1]. If
anything in the manual is unclear or could use more explanation, please do
I don't think there is much documentation for Julia-macros around but if
you know LISP then you're ahead in the game anyway. So it's mostly
learning by looking at other folk's macros:
My package https://github.com/mauro3/Parameters.jl does something
similar to your example. So you could have a
On Wednesday, October 14, 2015 at 5:53:47 AM UTC-4, Mauro wrote:
>
> My package https://github.com/mauro3/Parameters.jl does something
> similar to your example. So you could have a look at that and get some
> inspiration.
Parameters.jl is amazing... so detailed
But, i fear, a bridge too
On Wednesday, October 14, 2015 at 11:40:19 AM UTC-4, Isaiah wrote:
>
> Q1) where to find julia macro tutorials (beyond the standard manual)?
>
>
> I'm not aware of any tutorials, but there were several JuliaCon talks that
> are related to some of the nittier details if you are interested [1]. If
this is day3 of julia so pardon dumb questions
i had some trouble finding tutorials on julia macros. i've read the
textbooks but i suspect there is somewhere else to look (i say that since i
would have thought that the following would exist in standard Julia, but i
could not find it). so, two