1. What does PASS do? I couldn't figure it out.2. I've noticed that Shpaml is written using regex and imperative code, rather than defined as a grammar and using a parser package, which smells like the smarter solution. Is this intentional? What do you think about implementing Shpaml using a parser?
--
You received this message because you are subscribed to the Google Groups "shpaml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shpaml+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
PASS does the same thing that "pass" does in Python; it basically allows you to specify an empty block without confusing the indentation scheme.
The design choices to use regexes and imperative code were very intentional. It would be interesting to see a formal-grammar approach to the problem. There would be some challenges due to the indentation awareness and fact that you're wrapping arbitrary HTML.
On Friday, January 24, 2014 11:42 AM, Ram Rachum <ram.r...@gmail.com> wrote:
You received this message because you are subscribed to the Google Groups "shpaml" group.1. What does PASS do? I couldn't figure it out.--2. I've noticed that Shpaml is written using regex and imperative code, rather than defined as a grammar and using a parser package, which smells like the smarter solution. Is this intentional? What do you think about implementing Shpaml using a parser?
To unsubscribe from this group and stop receiving emails from it, send an email to shpaml+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "shpaml" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shpaml/bcTIRXNzv2Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shpaml+un...@googlegroups.com.