Commit graph

11 commits

Author SHA1 Message Date
Tony Bark
7c3230685b Rewritten IProgram interface and CST to support arguments.
- With the help of ChatGPT, the IProgram interface has been rewritten to handle command line arguments.
- Speaking of, the CST parser has been rewritten to finally support arguments with the help of ChatGPT too.
- Separately from the ChatGPT changes, the Run method has been renamed to Entry.
- Terminal's entry code is now top-level.

See ChangeLog.md for more details.
2023-01-08 22:27:21 -05:00
Tony Bark
2794aa17f4 Copyright waiver under the Unlicense with BSD 3-Clause fallback. 2023-01-07 11:44:50 -05:00
Tony Bark
7b56b93edd Fixed typo with project directory
- Renamed IsFSActive to isFSEnabled
2023-01-07 10:44:51 -05:00
Tony Bark
7c16857c9a Refreshed project to target .NET 6 and latest userkit
- Fixed a slight oversight
2022-12-25 18:27:57 -05:00
Tony Bark
4f0863f429 Start() in IProgram has been renamed to Run()
- Run() loop in the shell is now wrapped in a try-catch statement.
- Added Github CI
- Removed OSConsts and TermConsts
- Programs can now access the programs dictionary directly from the shell
2021-03-31 00:10:38 -04:00
Tony Bark
d1ccfad2ae Catch wrong commands. 2021-03-30 10:01:34 -04:00
Tony Bark
af6bab2e4f Relicensed under GPL 2021-03-30 08:55:46 -04:00
Tony Bark
c11f987521 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.
2021-03-30 08:26:18 -04:00
Anthony Foxclaw
1edf3d660f Filesystem and versioning
- Filesystem
- Proper versioning
- Replaced BasicApp with AboutApp
- Removd TerminalCancelEventArgs and everything related to it
2020-02-03 16:51:51 -05:00
Anthony Wilcox
972948948f Moved Terminal stuff to kernel project 2020-01-30 11:19:54 -05:00
Anthony Wilcox
414aa10aef Initial source commit 2020-01-30 10:06:44 -05:00