Develop and Download Open Source Software

Browse CVS Repository

Contents of /netruby/netruby/NRb.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Apr 8 13:28:17 2002 UTC (22 years ago) by arton
Branch: MAIN, vendor
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
initial version 0.8

1 /*
2 Copyright(C) 2001-2002 arton
3
4 Permission is granted for use, copying, modification, distribution,
5 and distribution of modified versions of this work as long as the
6 above copyright notice is included.
7 */
8 using System;
9 using System.Threading;
10 using System.Reflection;
11 using System.IO;
12 using System.CodeDom.Compiler;
13 using System.ComponentModel;
14
15 [assembly: AssemblyTitle("NRb")]
16 [assembly: AssemblyVersion("0.8.*")]
17 [assembly: AssemblyCopyright("NRb - Copyright (C) 2002 arton")]
18
19 namespace arton.NETRuby
20 {
21 class NETRuby
22 {
23 public static void Main(string[] args)
24 {
25 if (args.Length <= 0)
26 {
27 Console.WriteLine("NRb filename");
28 return;
29 }
30 long s1 = DateTime.Now.Ticks;
31 NetRuby rb = new NetRuby();
32 long s2 = DateTime.Now.Ticks;
33 long s3 = 0;
34 if (rb.Options(args))
35 {
36 s3 = DateTime.Now.Ticks;
37 rb.Run();
38 }
39 long s4 = DateTime.Now.Ticks;
40 System.Console.WriteLine(String.Format("new={0},Process={1},Run={2}",(s2 - s1)/10000, (s3 - s2)/10000, (s4 - s3)/10000));
41 rb.Exit(0);
42 }
43 }
44 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26