Commit c51dfe45 authored by gerd's avatar gerd

Updated


git-svn-id: https://godirepo.camlcity.org/svn/lib-pxp/trunk@313 dbe99aee-44db-0310-b2b3-d33182c8eb97
parent 943e400c
This diff is collapsed.
This diff is collapsed.
991025-ClaudioSCoen Bug in markup
991108-ClaudioSCoen Bug in markup; Statistik mehrerer Parser
000221-AlainFrisch Verwirrung mit dem source-Parameter
000312-AlainFrisch Verwirrung mit resolvers
000505-ClaudioSCoen Diskussion UTF-8-Konverter
000515-ClaudioSCoen Allg. XML-Probleme
000526-VladimirTamara Problem mit falscher DTD vom W3C
000705-VolkerRenneberg Problem mit Fragmentierung von Datenblcken
000726-HaruoHosoya Makefile-Probleme
000727-AlainFrisch Datenmodell von PXP
000729-PrenticeHallBooks Markup wird in Buchverffentlichung aufgenommen
000826-AlainFrisch: Anforderungen fr Alains XPath-Implementation;
Alains wlex; Memory footprint von PXP
010330-HaruoHosoya Cygwin-Port
diff --context -r tmp/pxp/Makefile.conf pxp/Makefile.conf
*** tmp/pxp/Makefile.conf Sun Aug 20 04:52:10 2000
--- pxp/Makefile.conf Sun Apr 8 20:26:25 2001
***************
*** 35,37 ****
--- 35,45 ----
MLI = pxp_document.mli pxp_dtd.mli \
pxp_types.mli pxp_yacc.mli \
pxp_codewriter.mli pxp_dfa.mli
+
+ # executable suffix (for Cygwin)
+
+ ifeq ($(OSTYPE),cygwin)
+ EXEC_SUFFIX = .exe
+ else
+ EXEC_SUFFIX =
+ endif
Only in pxp: Makefile.conf~
Only in pxp/compatibility: depend
Only in pxp: depend
Only in pxp/lexers: Makefile.generate~
Only in pxp/lexers: pxp_lex_defs_utf8.def~
diff --context -r tmp/pxp/m2parsergen/Makefile pxp/m2parsergen/Makefile
*** tmp/pxp/m2parsergen/Makefile Sun May 7 02:34:39 2000
--- pxp/m2parsergen/Makefile Sun Apr 8 20:12:54 2001
***************
*** 11,17 ****
.PHONY: all
! all: m2parsergen
.PHONY: clean
clean:
--- 11,17 ----
.PHONY: all
! all: m2parsergen$(EXEC_SUFFIX)
.PHONY: clean
clean:
***************
*** 23,29 ****
.PHONY: distclean
distclean: clean
! rm -f *~ depend depend.pkg m2parsergen a.out x.ml
#----------------------------------------------------------------------
# general rules:
--- 23,29 ----
.PHONY: distclean
distclean: clean
! rm -f *~ depend depend.pkg m2parsergen$(EXEC_SUFFIX) a.out x.ml
#----------------------------------------------------------------------
# general rules:
***************
*** 39,46 ****
depend: $(SRC)
$(OCAMLDEP) $(SRC) >depend
! m2parsergen: $(OBJ)
! $(OCAMLC) -o m2parsergen $(OBJ)
.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly
--- 39,46 ----
depend: $(SRC)
$(OCAMLDEP) $(SRC) >depend
! m2parsergen$(EXEC_SUFFIX): $(OBJ)
! $(OCAMLC) -o m2parsergen$(EXEC_SUFFIX) $(OBJ)
.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly
Only in pxp/m2parsergen: Makefile~
Only in pxp/m2parsergen: ast.cmi
Only in pxp/m2parsergen: ast.cmo
Only in pxp/m2parsergen: depend
Only in pxp/m2parsergen: generator.cmi
Only in pxp/m2parsergen: generator.cmo
Only in pxp/m2parsergen: lexer.cmi
Only in pxp/m2parsergen: lexer.cmo
Only in pxp/m2parsergen: lexer.ml
Only in pxp/m2parsergen: m2parsergen.exe
Only in pxp/m2parsergen: parser.cmi
Only in pxp/m2parsergen: parser.cmo
Only in pxp/m2parsergen: parser.ml
Only in pxp/m2parsergen: parser.mli
Only in pxp/tmp: pxp_entity.cmi
Only in pxp/tmp: pxp_entity.cmo
Only in pxp/tmp: pxp_entity.ml
Only in pxp/tmp: pxp_entity.mli
diff --context -r tmp/pxp/tools/insert_variant pxp/tools/insert_variant
*** tmp/pxp/tools/insert_variant Sun May 21 06:14:33 2000
--- pxp/tools/insert_variant Sun Apr 8 20:17:02 2001
***************
*** 37,43 ****
if String.length line >= 8 & String.sub line 0 8 = "#insert " then begin
let insname = get_arg variant line in
(* Copy the file 'insname' to chout *)
! let chcopy = open_in insname in
let n = in_channel_length chcopy in
let s = String.create n in
really_input chcopy s 0 n;
--- 37,43 ----
if String.length line >= 8 & String.sub line 0 8 = "#insert " then begin
let insname = get_arg variant line in
(* Copy the file 'insname' to chout *)
! let chcopy = open_in_bin insname in
let n = in_channel_length chcopy in
let s = String.create n in
really_input chcopy s 0 n;
Only in pxp/tools: insert_variant~
diff --context -r tmp/pxp/tools/ucs2_to_utf8/Makefile pxp/tools/ucs2_to_utf8/Makefile
*** tmp/pxp/tools/ucs2_to_utf8/Makefile Sun May 21 05:30:03 2000
--- pxp/tools/ucs2_to_utf8/Makefile Sun Apr 8 20:13:27 2001
***************
*** 9,16 ****
OCAMLLEX = ocamllex
OCAMLYACC = ocamlyacc
! all: ucs2_to_utf8
! opt: ucs2_to_utf8.opt
DEPOBJS = ucs2_to_utf8.ml lexer.ml parser.ml parser.mli types.ml
--- 9,16 ----
OCAMLLEX = ocamllex
OCAMLYACC = ocamlyacc
! all: ucs2_to_utf8$(EXEC_SUFFIX)
! opt: ucs2_to_utf8.opt$(EXEC_SUFFIX)
DEPOBJS = ucs2_to_utf8.ml lexer.ml parser.ml parser.mli types.ml
***************
*** 29,39 ****
depend: lexer.ml parser.ml parser.mli
$(OCAMLDEP) $(DEPOBJS) > depend
! ucs2_to_utf8: $(UCS2_TO_UTF8OBJS)
! $(OCAMLC) -o ucs2_to_utf8 $(UCS2_TO_UTF8OBJS)
! ucs2_to_utf8.opt: $(UCS2_TO_UTF8OPTOBJS)
! $(OCAMLOPT) -o ucs2_to_utf8.opt $(UCS2_TO_UTF8OPTOBJS)
.SUFFIXES: .ml .mli .cmo .cmi .cmx
.ml.cmo:
--- 29,39 ----
depend: lexer.ml parser.ml parser.mli
$(OCAMLDEP) $(DEPOBJS) > depend
! ucs2_to_utf8$(EXEC_SUFFIX): $(UCS2_TO_UTF8OBJS)
! $(OCAMLC) -o ucs2_to_utf8$(EXEC_SUFFIX) $(UCS2_TO_UTF8OBJS)
! ucs2_to_utf8.opt$(EXEC_SUFFIX): $(UCS2_TO_UTF8OPTOBJS)
! $(OCAMLOPT) -o ucs2_to_utf8.opt$(EXEC_SUFFIX) $(UCS2_TO_UTF8OPTOBJS)
.SUFFIXES: .ml .mli .cmo .cmi .cmx
.ml.cmo:
***************
*** 45,50 ****
clean:
rm -f *.cm[iox] *.o lexer.ml parser.ml parser.mli \
! ucs2_to_utf8 ucs2_to_utf8.opt
include depend
--- 45,50 ----
clean:
rm -f *.cm[iox] *.o lexer.ml parser.ml parser.mli \
! ucs2_to_utf8$(EXEC_SUFFIX) ucs2_to_utf8.opt$(EXEC_SUFFIX)
include depend
Only in pxp/tools/ucs2_to_utf8: Makefile~
Only in pxp/tools/ucs2_to_utf8: depend
Only in pxp/tools/ucs2_to_utf8: lexer.cmi
Only in pxp/tools/ucs2_to_utf8: lexer.cmo
Only in pxp/tools/ucs2_to_utf8: lexer.ml
Only in pxp/tools/ucs2_to_utf8: parser.cmi
Only in pxp/tools/ucs2_to_utf8: parser.cmo
Only in pxp/tools/ucs2_to_utf8: parser.ml
Only in pxp/tools/ucs2_to_utf8: parser.mli
Only in pxp/tools/ucs2_to_utf8: types.cmi
Only in pxp/tools/ucs2_to_utf8: types.cmo
Only in pxp/tools/ucs2_to_utf8: ucs2_to_utf8.cmi
Only in pxp/tools/ucs2_to_utf8: ucs2_to_utf8.cmo
Only in pxp/tools/ucs2_to_utf8: ucs2_to_utf8.exe
Hello everybody,
in the case you are interested in XML parsers: I have written a new one,
called PXP, the Polymorphic XML Parser. It is programmed in Objective Caml, a
free functional programming language (caml.inria.fr).
PXP is a validating XML parser which strictly complies to the XML-1.0 standard.
The document is represented as object tree; the type of the node class can be
customized. The polymorphism even allows it to select the class of the nodes
depending on the element types.
PXP is fast and reliable. It has been designed for CGI applications but is not
restricted to this domain.
The parser has been written in the programming language Objective Caml, as this
is a stable, fast and expressive programming environment. It is addressed at
researchers who are already working with Objective Caml as well as at
interested industrial developers who want to leave the beaten paths of
industrial standards.
The software can be freely downloaded at the following homepage; it is covered
by a BSD-like open source license:
http://www.ocaml-programming.de/programming/pxp.html
Have fun with it,
Gerd Stolpmann
--
----------------------------------------------------------------------------
info@gerd-stolpmann.de
Homapage: www.gerd-stolpmann.de, www.ocaml-programming.de
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment