So what is the difference between those

<aiki
  if (foo == bar) {
    <p>foo bar</p>
     <script>
     if (bar == baz) {
        $('body').append('<p>baz quux</p>');
     }
     </script>
  }
aiki>  

and how parser will know the difference

what about this

<aiki
  if (foo == bar) {
    <p>This is my latest code</p>
    <textarea>
    if (bar == baz) {
        <p>baz quux</p>
    }
    </textarea>
  }
aiki>

it don't even be in code tag it can be in p tag

<aiki
  if (foo == bar) {
    <p>Hy guys this is my latest code: 
    if (bar == baz) {  <br/>
        &lt;p&gt;baz quux&lt;/p&gt; <br/>
    } <br/>
    </p>
  }
aiki>

so how you want to handle this?

On Sat, 4 Feb 2012 01:12:19 +0200
Bassel Safadi <[email protected]> wrote:

> no no, you will not end up with multi levels, the whole idea is to
> have a step by step language processor,
> so instead of:
> <aiki
>   if (foo == bar) {
>     <p>foo bar</p>
>     <aiki if (bar == baz) {
>         <p>baz quux</p>
>     }
>     aiki>
>   }
> aiki>
> 
> you only do:
> 
> <aiki
>   if (foo == bar) {
>     <p>foo bar</p>
>      if (bar == baz) {
>         <p>baz quux</p>
>     }
>   }
> aiki>
> 
> 
> this is natural an this is what people expect it's not the matter of
> having (aiki( or <aiki it's the principal of functional language
> processor. --
> Bassel Safadi | http://bassel.ws
> Skype: i.know.sy | Global: +1-323-545-3855
> 
> 
> On Fri, Feb 3, 2012 at 9:09 PM, Jakub Jankiewicz <[email protected]>
> wrote:
> 
> > <aiki
> >   if (foo == bar) {
> >     <p>foo bar</p>
> >     <aiki if (bar == baz) {
> >         <p>baz quux</p>
> >     }
> >     aiki>
> >   }
> > aiki>
> >

--
Jakub Jankiewicz
twitter: @jcubic
www: http://jcubic.pl

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to