pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/MagicStack/MagicPython/commit/c705cd1d18d4e75c5da93f4eacca544a85baebb4

" /> Add an important note about the importance of scope ordering. · MagicStack/MagicPython@c705cd1 · GitHub
Skip to content

Commit c705cd1

Browse files
committed
Add an important note about the importance of scope ordering.
1 parent 6e51183 commit c705cd1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,19 @@ If you intend to submit a pull request, please follow the following guidelines:
229229
- update unit tests and add new ones if needed, keeping the test cases short
230230
whenever possible
231231

232+
### Multiple scopes
233+
234+
It is sometimes necessary to assign multiple scopes to the same
235+
matched group. It is *very important* to keep in mind that the order
236+
of these scopes is apparently treated as significant by the engines
237+
processing the grammar specs. However, it is equally important to know
238+
that different specification formats seem to have different order of
239+
importance (most important first vs. last). Since we try to create
240+
grammar that can be compiled into several different formats, we must
241+
chose one convention and then translate it when necessary during
242+
compilation step. Our convention is therefore that *most important
243+
scope goes first*.
244+
232245
## Color Scheme
233246

234247
If you want to write your own color scheme for MagicPython you can

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy