コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello Gorilla Script!");

            var repl = new Repl();

            repl.Start();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: bpiec/monkeylang_csharp
        private static void Main()
        {
            var username = System.Security.Principal.WindowsIdentity.GetCurrent().Name;

            Console.WriteLine($"Hello {username}! This is the Monkey programming language!");
            Console.WriteLine("Feel free to type in commands.");
            Console.WriteLine();

            var repl = new Repl.Repl();

            repl.Start(Console.In, Console.Out);
        }