aboutsummaryrefslogblamecommitdiff
path: root/main/cocl.icl
blob: 6620be2d2c4c83bd0f7e8b91395c7d44610957d4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                           
           
 
             
               
               
 
                            
           
                                                   

                                 



                                                         

                                                                     


                                                             
                                                       
                                                                
                                                          
                                                           
                                                
                                                                                               
                                 

                                                             
                       


































                                                                                               
/*
	module owner: Ronny Wichers Schreur
*/
module cocl


import StdEnv
import coclmain

import frontend

// Start :: *World -> *World
Start world
	=	(testArgs, coclMain testArgs world)
	where
		testArgs
			=	[
					// main module
					testDir +++ "t"
//				,	// unknown option
//					"-xxx"
//					// list all types
				,	"-lat"
					// generate readable abc code
				,	"-d"
					// time profiling
				,	"-pt"
					// reuse unique nodes
				,	"-ou"
					// redirect out
//				,	"-RO", "messages.txt"	
					// redirect errors
//				,	"-RE", "errors.txt"
					// paths
				,	"-P", testDir +++ ";" +++ io08Dir +++ ";" +++ stdenvDir
//				,	"-P", paths
				]

		baseDir
			=	"d:\\Users\\Ronny\\Develop\\"
		testDir
			=	baseDir +++ "Clean Programs\\" +++ "testes\\" 

		coclDir
			=	baseDir +++ "CleanSystem\\cocl\\"

		cleanSystemDir
			=	baseDir +++ "CleanSystem\\"

		cleanVersion
			=	"2.0 repository\\"

		stdenvDir
			=	cleanSystemDir +++ cleanVersion +++ "\\StdEnv\\"

		io08Dir
//			=	cleanSystemDir +++ cleanVersion +++ "\\IOInterface\\"
			=	"d:\\Users\\Ronny\\Profile\\Desktop\\test\\IOInterface 0.8.2\\"
		paths
			=	foldl  (\a b -> a +++ ";" +++ b) ""
				(
					[	coclDir +++ path
					\\	path <-
						[	""
						,	"compiler"
						,	"main"
						,	"main/Windows"
						,	"backend"
						,	"backendCModules"
						,	"ArgEnvWindows"
						,	"WrapDebug"
						]
					]
				++
					[	stdenvDir
					]
				)