mirror of
https://github.com/tonytins/tomas.git
synced 2025-07-12 01:12:21 -04:00
Programs now built using IProgram interface
- The old App abstract class has been scrapped in favor of the IProgram interface in the Tomas.Interface library. - A new terminal emulator was created when not on Windows. - In both OS and terminal, a single dictionary has the commands and classes that implement IProgram. - Start() now returns a boolean that behaves similar to C's main in returning an integer. - A new while loop in both terminal and kernel handles the execution of programs.
This commit is contained in:
parent
952554b476
commit
c11f987521
31 changed files with 387 additions and 219 deletions
7
src/Tomas.Interface/Shell/IShell.cs
Normal file
7
src/Tomas.Interface/Shell/IShell.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace Tomas.Interface.Shell
|
||||
{
|
||||
public interface IShell
|
||||
{
|
||||
string ReadLine { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue