[Commit] mint/src astprint.5c, 1.1, 1.2 lexer_generator.5c, 1.1, 1.2 lexer_runtime.5c, 1.1, 1.2 mint-parser.5c, NONE, 1.1 parser_runtime.5c, 1.1, 1.2

Bart Massey commit at keithp.com
Thu Jan 13 01:24:51 PST 2005


Committed by: bart

Update of /local/src/CVS/mint/src
In directory home.keithp.com:/tmp/cvs-serv6459/src

Modified Files:
	astprint.5c lexer_generator.5c lexer_runtime.5c 
	parser_runtime.5c 
Added Files:
	mint-parser.5c 
Log Message:
Fixed up the import structure a bit.

Added mint-parser.5c: provides an autoimport-able namespace
containing a routine to parse a file given parser and lexer
tables.

Added lolgram.mnt, grammar for LOL in MerryMINT.



Index: astprint.5c
===================================================================
RCS file: /local/src/CVS/mint/src/astprint.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- astprint.5c	29 Nov 2004 14:53:28 -0000	1.1
+++ astprint.5c	13 Jan 2005 09:24:48 -0000	1.2
@@ -35,8 +35,7 @@
  * astprint.5c -- program to print the AST for a file
  */
 
-load "mintutil.5c"
-import Mintutil;
+autoimport Mintutil;
 load "lexer_runtime.5c"
 load "parser_runtime.5c"
 import Mint;

Index: lexer_generator.5c
===================================================================
RCS file: /local/src/CVS/mint/src/lexer_generator.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lexer_generator.5c	29 Nov 2004 14:53:28 -0000	1.1
+++ lexer_generator.5c	13 Jan 2005 09:24:48 -0000	1.2
@@ -35,7 +35,6 @@
  * Lexer Generator
  */
 
-load "mintutil.5c";
 import Mintutil;
 import Mint;
 

Index: lexer_runtime.5c
===================================================================
RCS file: /local/src/CVS/mint/src/lexer_runtime.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lexer_runtime.5c	29 Nov 2004 14:53:28 -0000	1.1
+++ lexer_runtime.5c	13 Jan 2005 09:24:48 -0000	1.2
@@ -35,7 +35,7 @@
  * Lexer Runtime
  */
 
-import Mintutil;
+autoimport Mintutil;
 
 namespace Mint {
 

--- NEW FILE: mint-parser.5c ---
(This appears to be a binary file; contents omitted.)

Index: parser_runtime.5c
===================================================================
RCS file: /local/src/CVS/mint/src/parser_runtime.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- parser_runtime.5c	29 Nov 2004 14:53:28 -0000	1.1
+++ parser_runtime.5c	13 Jan 2005 09:24:48 -0000	1.2
@@ -35,7 +35,7 @@
  * Parser Runtime
  */
 
-import Mintutil;
+autoimport Mintutil;
 import File;
 extend namespace Mint {
 




More information about the Commit mailing list