initial commit
This commit is contained in:
parent
55935b7c1b
commit
5f736b062c
3 changed files with 56 additions and 0 deletions
5
BeefProj.toml
Normal file
5
BeefProj.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
FileVersion = 1
|
||||
|
||||
[Project]
|
||||
Name = "Scarab"
|
||||
StartupObject = "Scarab.Program"
|
5
BeefSpace.toml
Normal file
5
BeefSpace.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
FileVersion = 1
|
||||
Projects = {Scarab = {Path = "."}}
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "Scarab"
|
46
src/Program.bf
Normal file
46
src/Program.bf
Normal file
|
@ -0,0 +1,46 @@
|
|||
namespace Scarab;
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Interop;
|
||||
|
||||
class Program
|
||||
{
|
||||
//private static bool _shouldClose = false;
|
||||
|
||||
///Close the program once the execution of the current command is finished
|
||||
//public static void Close() => _shouldClose = true;
|
||||
|
||||
public static void Main(String[] args)
|
||||
{
|
||||
Console.Read();
|
||||
|
||||
|
||||
/*
|
||||
while(!_shouldClose)
|
||||
{
|
||||
DrawCursor();
|
||||
var input = Console.ReadLine(.. scope .());
|
||||
if(input == "exit")
|
||||
Close();
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
- Load Configuration
|
||||
- Read Input
|
||||
- Process Command
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
private static void DrawCursor()
|
||||
{
|
||||
var dir = Directory.GetCurrentDirectory(.. scope .());
|
||||
Console.Write(scope $"{dir}>");
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue