Is fry supposed to work with nested quotations, or should I be using
some other construct? eg:

3 '[ 1 2 [ , ] ]
 => [ 1 2 [ 3 ] ]

This doesn't work but I'm looking for something that will let me do
similar. In pegs I use match-replace for code generation. Code looks
similar to:

[ ...somecode...]  \ ?quot [
    dup empty? [
      drop f
    ] [
      unclip-slice dup ?quot call [
        <parse-result>
      ] [
        2drop f
      ] if
    ] if
  ]   match-replace

Is fry intended to be used for this sort of thing? if so, how?

Chris.
-- 
http://www.bluishcoder.co.nz

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to