/[advanced-readtable]/README.md
ViewVC logotype

Diff of /README.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16 by rklochkov, Fri Jan 25 14:09:35 2013 UTC revision 17 by rklochkov, Sat Jan 26 20:28:43 2013 UTC
# Line 24  Hierarchy packages Line 24  Hierarchy packages
24  ------------------  ------------------
25    
26  Advanced-readtable has fully functional built-in support of hierarchy-packages.  Advanced-readtable has fully functional built-in support of hierarchy-packages.
27    .name means "subpackage name in current package", ..name -- "subpackage name in above package",
28    ...name -- "subpackage in two-level-up package" and so on.
29    In in-package you may use .. for above package, ... for two level up, and so on.
30    
31      CL-USER> (defpackage .test (:use cl)))      CL-USER> (defpackage .test (:use cl)))
32      #<PACKAGE "COMMON-LISP-USER.TEST">      #<PACKAGE "COMMON-LISP-USER.TEST">
# Line 145  Low-level API Line 148  Low-level API
148  -------------  -------------
149    
150  There are five lists:  There are five lists:
151  -  *package-finders* -- global for find-package  -  `*package-finders*` -- global for find-package
152  -  *symbol-finders* -- global for find-symbol  -  `*symbol-finders*` -- global for find-symbol
153  -  (package-finders package) -- per-package for find-package  -  (package-finders package) -- per-package for find-package
154  -  (symbol-finders package) -- per-package for find-symbol  -  (symbol-finders package) -- per-package for find-symbol
155  -  (extra-finders symbol) -- per-symbol for (symbol ....) package substitution  -  (extra-finders symbol) -- per-symbol for (symbol ....) package substitution
# Line 168  To simplify adding new handlers with key Line 171  To simplify adding new handlers with key
171  will set handler for package pack, if there are no hanler with key  will set handler for package pack, if there are no hanler with key
172  (:my handler1). So you may set it in your file and not be afraid, that it  (:my handler1). So you may set it in your file and not be afraid, that it
173  will duplicate on reloading.  will duplicate on reloading.
174    
175    Restrictions
176    ------------
177    
178    You must only ASCII characters for first letter of every part of package name
179    and for first letter of symbols, that you want to use in set-macro-symbol
180    
181    If you really need other characters you may set them by calling
182    
183        (set-macro-character c #'advanced-readtable:read-token-with-colons t)
184    
185    for every your character.
186    
187    If you need to temporary disable macro-characted substitution, you may set
188    `advanced-readtable:*enable-symbol-readmacro*` to nil. It could be useful, if you
189    describe a lot of symbols and don't want to enclose every of them in || (and upcase, of course).

Legend:
Removed from v.16  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.5