Re: [FM3] Call syntax, positional and named parameters

2017-07-05 Thread Daniel Dekany
Something from the first mail of this thread that I want to emphasize is that which parameter needs to be passed by position and which by name is decided when the directive or function is defined. It's not decided by the caller (see reasons below). For example, the 1st parameter of #include can

Re: [FM3] Call syntax, positional and named parameters

2017-07-05 Thread Woonsan Ko
On Tue, Jul 4, 2017 at 10:15 AM, Daniel Dekany wrote: > Tuesday, July 4, 2017, 7:57:18 AM, Woonsan Ko wrote: > >> On Wed, Jun 21, 2017 at 2:30 PM, Daniel Dekany wrote: >>> Friday, June 16, 2017, 8:41:37 PM, Daniel Dekany wrote: >>> A problem in FM2 is

Re: [FM3] Call syntax, positional and named parameters

2017-07-04 Thread Daniel Dekany
Tuesday, July 4, 2017, 7:57:18 AM, Woonsan Ko wrote: > On Wed, Jun 21, 2017 at 2:30 PM, Daniel Dekany wrote: >> Friday, June 16, 2017, 8:41:37 PM, Daniel Dekany wrote: >> >>> A problem in FM2 is that when calling a directive (as a macro), either >>> all parameters are

Re: [FM3] Call syntax, positional and named parameters

2017-07-04 Thread Daniel Dekany
Tuesday, July 4, 2017, 7:29:23 AM, Woonsan Ko wrote: > On Fri, Jun 16, 2017 at 2:41 PM, Daniel Dekany wrote: >>8>8 >> Some very fundamental core directives still would have exceptional >> syntax, such as: >> >> - Assignments (#var/#set as planned for FM3). They

Re: [FM3] Call syntax, positional and named parameters

2017-07-03 Thread Woonsan Ko
On Wed, Jun 21, 2017 at 2:30 PM, Daniel Dekany wrote: > Friday, June 16, 2017, 8:41:37 PM, Daniel Dekany wrote: > >> A problem in FM2 is that when calling a directive (as a macro), either >> all parameters are positional (`<@message "Hi" 2 />`), or all >> parameters are named

Re: [FM3] Call syntax, positional and named parameters

2017-07-03 Thread Woonsan Ko
On Wed, Jun 21, 2017 at 2:30 PM, Daniel Dekany wrote: > Friday, June 16, 2017, 8:41:37 PM, Daniel Dekany wrote: > >> A problem in FM2 is that when calling a directive (as a macro), either >> all parameters are positional (`<@message "Hi" 2 />`), or all >> parameters are named

Re: [FM3] Call syntax, positional and named parameters

2017-07-03 Thread Woonsan Ko
On Fri, Jun 16, 2017 at 2:41 PM, Daniel Dekany wrote: >8>8 > Some very fundamental core directives still would have exceptional > syntax, such as: > > - Assignments (#var/#set as planned for FM3). They look as if they > have named parameter syntax first, but in

Re: [FM3] Call syntax, positional and named parameters

2017-06-21 Thread Daniel Dekany
Friday, June 16, 2017, 8:41:37 PM, Daniel Dekany wrote: > A problem in FM2 is that when calling a directive (as a macro), either > all parameters are positional (`<@message "Hi" 2 />`), or all > parameters are named (`<@message content="Hi" height=2 />`); you can't > mix the two (`<@message "Hi"