PageRenderTime 38ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/Program.cs

https://bitbucket.org/cvillamor/compiler
C# | 31 lines | 21 code | 7 blank | 3 comment | 1 complexity | af7694ce721f38e65c3b4220adfad09b MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.IO;
  6. namespace Compiler_
  7. {
  8. class Program
  9. {
  10. static void Main(string[] args)
  11. {
  12. if (args.Length==0)
  13. {
  14. Console.WriteLine("Error no input found");
  15. return;
  16. }
  17. //Console.WriteLine(5 + -4);
  18. Compiler comp = new Compiler(args[0]);
  19. comp.Run();
  20. //test.DataStackPush(14);
  21. //test.DataStackPush('h');
  22. }
  23. }
  24. }