Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /smlnj-lib/trunk/SExp/sexp-lib.mlb
ViewVC logotype

View of /smlnj-lib/trunk/SExp/sexp-lib.mlb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4685 - (download) (annotate)
Mon Aug 20 16:45:33 2018 UTC (7 months ago) by jhr
File size: 1034 byte(s)
  Added SExp pretty printer, plus a bug fix
(* sexp-lib.mlb
 *
 * COPYRIGHT (c) 2011 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *
 * Author: Damon Wang (with modifications by John Reppy)
 *
 * An MLB file for the JSON library, so that it can be used by MLton programs.
 *
 * TODO:
 *	This is not complete, since MLton does not have the ml-lpt-lib yet.
 *)

local

  $(SML_LIB)/basis/basis.mlb
  $(SML_LIB)/smlnj-lib/Util/smlnj-lib.mlb
  $(SML_LIB)/smlnj-lib/PP/pp-lib.mlb
  $(SML_LIB)/mllpt-lib/mllpt-lib.mlb

  ann
    "nonexhaustiveMatch warn" "redundantMatch warn"
    "sequenceNonUnit ignore"
    "warnUnused false" "forceUsed"
  in

    sexp-tokens.sml
    sexp.lex.sml
    sexp.sml
(*    sexp-stream-parser.sml *)
    sexp-parser.sml
(*    sexp-stream-printer.sml *)
    sexp-pp.sml
    sexp-printer.sml

  end

in

(* DOM-style API (tree based) *)
  structure SExp
  structure SExpParser
  structure SExpPP
  structure SExpPrinter

(* SAX-style API (event based) *)
(* TODO
  structure SExpStreamParser
  structure SExpStreamPrinter
*)

end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0