Natools

Diff
Login

Differences From Artifact [d59de17b25]:

To Artifact [62e0dd8636]:


12
13
14
15
16
17
18

19

20
21
22
23



24
25
26
27
28
29
30
12
13
14
15
16
17
18
19

20
21



22
23
24
25
26
27
28
29
30
31







+
-
+

-
-
-
+
+
+







-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN    --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF  --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.           --
------------------------------------------------------------------------------

------------------------------------------------------------------------------
-- Natools.S_Expressions.Parsers implements an event-based S-expression     --
-- parser that reads from an internal cache updated through a dispatching   --
-- parser that reads from an input stream.                                  --
-- call.                                                                    --
--                                                                          --
-- Subparser objects wrap together Parser and input Stream, exposing a      --
-- Descriptor interface. A subparser is constrained to its initial nesting  --
-- level, and reports end-of-input instead of reaching lower.               --
-- Stream_Parser is a basic concrete parser that fills the internal cache   --
-- from a stream provided as a discriminant. It functionally replaces the   --
-- former Subparser type.                                                   --
------------------------------------------------------------------------------

with Ada.Streams;

with Natools.S_Expressions.Atom_Buffers;
with Natools.S_Expressions.Lockable;