OSDev.org
https://forum.osdev.org/

WhirliOS: a non-UNIX OS with a custom filesystem and shell
https://forum.osdev.org/viewtopic.php?f=2&t=31006
Page 1 of 1

Author:  CommonEra [ Sat Nov 12, 2016 7:26 pm ]
Post subject:  WhirliOS: a non-UNIX OS with a custom filesystem and shell

Hello, everyone. I'm here to announce my in-progress operating system, WhirliOS. I could go through a lot of theory about my design and my goals, but before all that, I'd like to go through some of my big features. Here goes:

  • Wsh: Wsh is WhirliOS' custom shell. Among many, the String Buffer is its standout unique feature. More on that can be found here https://github.com/synthetixa/whirlios/wiki/The-Theory-Behind-the-String-Buffer
  • WhirlLib: WhirliLib is a logically-designed C Library. Although it is not nearly POSIX-compliant, WhirliLib is designed to be easy to use. It separates headers files into (currently) flib (file operatons), slib (string parsing operations), ilib (input/output) operations, and mlib (mathematical operations). Inside of these libraries, functions are also named logically. For example, instead of puts, there is iwrites ([library letter][operation performed][if applicable, first letter of the datatype it operates one])

Currently, file creation needs to be completed, but writing to preexisting files is possible through the String Buffer.

WhirliOS is licensed under the MIT license (with express permission for continuation from Whirligig231, the project founder) and I may or may not accept pull requests, depending on their compliance with my vision for WhirliOS. My vision is best expressed in simple words:

Quote:
Harder does not equal better, but better does not equal easier.


Anyway, yes, contributions and suggestions are completely allowed and, in fact, I'll ask for them, but their inclusion in the project is completely up to me, as the project leader. Do not let that frighten you; I am a benevolent dictator.

Anyway, you can find the project and some more information at https://github.com/synthetixa/whirlios.

Author:  matt11235 [ Sun Nov 13, 2016 3:30 am ]
Post subject:  Re: WhirliOS: a non-UNIX OS with a custom filesystem and she

CommonEra wrote:
Wsh: Wsh is WhirliOS' custom shell. Among many, the String Buffer is its standout unique feature. More on that can be found here https://github.com/synthetixa/whirlios/wiki/The-Theory-Behind-the-String-Buffer


Isn't this similar to pressing C-x C-e in bash to open $EDITOR on the current line?

Author:  CommonEra [ Sun Nov 13, 2016 10:37 am ]
Post subject:  Re: WhirliOS: a non-UNIX OS with a custom filesystem and she

zenzizenzicube wrote:
CommonEra wrote:
Wsh: Wsh is WhirliOS' custom shell. Among many, the String Buffer is its standout unique feature. More on that can be found here https://github.com/synthetixa/whirlios/wiki/The-Theory-Behind-the-String-Buffer


Isn't this similar to pressing C-x C-e in bash to open $EDITOR on the current line?


No. It's more similar to environment variables. And even that is a bad comparison.

Author:  matt11235 [ Sun Nov 13, 2016 10:51 am ]
Post subject:  Re: WhirliOS: a non-UNIX OS with a custom filesystem and she

CommonEra wrote:
zenzizenzicube wrote:
CommonEra wrote:
Wsh: Wsh is WhirliOS' custom shell. Among many, the String Buffer is its standout unique feature. More on that can be found here https://github.com/synthetixa/whirlios/wiki/The-Theory-Behind-the-String-Buffer


Isn't this similar to pressing C-x C-e in bash to open $EDITOR on the current line?


No. It's more similar to environment variables. And even that is a bad comparison.


Oh I'm sorry, I only read the theory page :oops:
What makes your string buffers better than environment variables or pipes?

Author:  CommonEra [ Sun Nov 13, 2016 5:54 pm ]
Post subject:  Re: WhirliOS: a non-UNIX OS with a custom filesystem and she

Quote:
Oh I'm sorry, I only read the theory page :oops:
What makes your string buffers better than environment variables or pipes?


Integration. The String Buffers will eventually allow for an integrated kind of power. I don't like to make the Bash comparison, but pipes are an isolated feature. String Buffers, however, are the basis of everything done from within the shell.

Also, better is very subjective. There's nothing better; it's a matter of how one works. I like String Buffers because of their allowance for creative solutions and their eventual extensilibity.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/