Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
5f736b062c initial commit 2025-02-17 12:44:15 +01:00
3 changed files with 56 additions and 0 deletions

5
BeefProj.toml Normal file
View file

@ -0,0 +1,5 @@
FileVersion = 1
[Project]
Name = "Scarab"
StartupObject = "Scarab.Program"

5
BeefSpace.toml Normal file
View file

@ -0,0 +1,5 @@
FileVersion = 1
Projects = {Scarab = {Path = "."}}
[Workspace]
StartupProject = "Scarab"

46
src/Program.bf Normal file
View 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}>");
}
*/
}