| 
									
										
										
										
											2008-12-08 15:58:00 -05:00
										 |  |  | USING: init command-line debugger system continuations | 
					
						
							|  |  |  | namespaces eval kernel vocabs.loader io ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |     boot | 
					
						
							|  |  |  |     do-init-hooks | 
					
						
							|  |  |  |     [ | 
					
						
							|  |  |  |         (command-line) parse-command-line | 
					
						
							|  |  |  |         load-vocab-roots | 
					
						
							|  |  |  |         run-user-init | 
					
						
							| 
									
										
										
										
											2009-04-17 16:49:36 -04:00
										 |  |  |         "e" get [ eval( -- ) ] when*
 | 
					
						
							| 
									
										
										
										
											2008-12-08 15:58:00 -05:00
										 |  |  |         ignore-cli-args? not script get and
 | 
					
						
							|  |  |  |         [ run-script ] [ "run" get run ] if*
 | 
					
						
							|  |  |  |         output-stream get [ stream-flush ] when*
 | 
					
						
							| 
									
										
										
										
											2008-12-13 05:10:39 -05:00
										 |  |  |         0 exit | 
					
						
							| 
									
										
										
										
											2008-12-08 15:58:00 -05:00
										 |  |  |     ] [ print-error 1 exit ] recover
 | 
					
						
							|  |  |  | ] set-boot-quot |