Hello,
Thanks your interest.
>> I don't think Google will seriously consider it for the SoC.
---------------------------------------------------------------
Actually I will present it as a linux shell project. As it will be written in
python it will easy to port.
>> Creating a translator for this type of command interpreter to
>> something more "conventional" would be extremely difficult.
--------------------------------------------------------------
Yes, I agree with you, it will be a big challenge.
>> are you simply going to emulate a single File object?
--------------------------------------------------------
I don't think that I will emulate a single file object. Because it seems that
you need sometimes to know the file format.
Examples:
nirvana_lithium.mp3 play # In order to play music you need to know the file
format and then
# apply a python method ( play_mp3() )to the mp3_file object
# internally it will something like: mp3_file.play_mp3()
nirvana_lithium.mp3 duplicate # it will duplicates in the current directory
or
nirvana_lithium.mp3 duplicateAt:/home/narke
# There you don't care about the file format
# you just copy a file byte by byte
(I will probably test the file format only when it's needed)
>> how would something like piping work?
----------------------------------------
I thought about that end I concluded that (don't kill me) there is no need of
piping.
Most of things can be done with appropriate methodes.
Examples:
------------------- UNiX ----------------------------- Hope next uuu ----------
file_to_send.txt | mail narke@xxxxxxx ++ file_to_send.txt sendTo: aa@xxxxxx
ls /etc | more ++ /etc listProgressively
ls /usr/src/linux | grep .c ++ /usr/src/linux listByOccurrencies: .c
------------------------------------------------------------------------------------------
Don't worry about long parameters, I hope to implement synatax completion.
>> redirection?
---------------
I must admit that I don't considered it. May be like classical shells?
Konstantin Tcholokachvili.
P.S: Some objects will be hard-coded, like computer wich will have methods like:
halt, restart...
|