cvs commit: hugs98/libraries/Hugs Char.hs Prelude.hs hugs98/src char.c char.h Makefile.in MkDepend.in builtin.c builtin.h compiler.c connect.h evaluator.c input.c interns.c iomonad.c...

ross at glass.cse.ogi.edu ross at glass.cse.ogi.edu
Thu Nov 13 16:14:41 EST 2003


ross        2003/11/13 16:14:41 PST

  Modified files:
    libraries/Hugs       Char.hs Prelude.hs 
    src                  Makefile.in MkDepend.in builtin.c 
                         builtin.h compiler.c connect.h 
                         evaluator.c input.c interns.c iomonad.c 
                         machine.c opts.c output.c prelude.h 
                         printer.c server.c storage.h 
    src/dotnet           Makefile 
    src/msc              Makefile 
    src/winhugs          Makefile 
  Added files:
    src                  char.c char.h 
  Log:
  This commit is a refactoring in preparation for changes from Dimitry
  Golubovsky <dimitry at golubovsky.org> to optionally allow Char to be
  Unicode.  There should be no functional changes so far:
  
  * introduce new primitives, as per the Report:
  
  	primitive primMaxChar :: Char
  	primitive isUpper     :: Char -> Bool
  	primitive isLower     :: Char -> Bool
  	primitive isAlphaNum  :: Char -> Bool
  	primitive isPrint     :: Char -> Bool
  	primitive toUpper     :: Char -> Char
  	primitive toLower     :: Char -> Char
  
  * add char.[ch] containing character handling stuff extracted from
    builtin.c and input.c.
  
  * ensure consChar() and unlexChar() receive positive arguments
  
  * eliminate NUM_CHARS: use MAXCHARVAL or NUM_LAT1_CHARS instead
  
  Revision  Changes    Path
  1.3       +7 -14     hugs98/libraries/Hugs/Char.hs
  1.33      +8 -10     hugs98/libraries/Hugs/Prelude.hs
  1.72      +14 -14    hugs98/src/Makefile.in
  1.8       +59 -54    hugs98/src/MkDepend.in
  1.70      +35 -29    hugs98/src/builtin.c
  1.6       +33 -2     hugs98/src/builtin.h
  1.23      +3 -3      hugs98/src/compiler.c
  1.80      +4 -2      hugs98/src/connect.h
  1.13      +1 -0      hugs98/src/evaluator.c
  1.75      +11 -91    hugs98/src/input.c
  1.13      +3 -3      hugs98/src/interns.c
  1.65      +4 -4      hugs98/src/iomonad.c
  1.19      +4 -4      hugs98/src/machine.c
  1.11      +1 -1      hugs98/src/opts.c
  1.33      +3 -3      hugs98/src/output.c
  1.57      +3 -3      hugs98/src/prelude.h
  1.13      +3 -3      hugs98/src/printer.c
  1.41      +3 -3      hugs98/src/server.c
  1.61      +4 -5      hugs98/src/storage.h
  1.17      +59 -54    hugs98/src/dotnet/Makefile
  1.46      +59 -54    hugs98/src/msc/Makefile
  1.31      +59 -54    hugs98/src/winhugs/Makefile


More information about the Cvs-hugs mailing list