You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
381 B

  1. using System;
  2. using System.IO;
  3. namespace SuperBASIC
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. Library lib = new Library();
  10. lib.AddFunction(new Functions.Print(), 1, "PRINT");
  11. lib.AddFunction(new Functions.Multiply(), 2, "MULTIPLY");
  12. Runtime r = new Runtime(lib);
  13. r.OpenFile(Directory.GetCurrentDirectory() + "\\Test.basic");
  14. r.Run();
  15. }
  16. }
  17. }