Category talk:UnixPipes: Difference between revisions

From Rosetta Code
Content added Content deleted
 
No edit summary
Line 1: Line 1:
==[[UNIX Shell]]?==
==[[UNIX Shell]]?==
What is the difference between this "language" and [[UNIX Shell]]? Could we consider it an implementation or dialect instead? --[[User:IanOsgood|IanOsgood]] 08:14, 8 April 2008 (MDT)
What is the difference between this "language" and [[UNIX Shell]]? Could we consider it an implementation or dialect instead? --[[User:IanOsgood|IanOsgood]] 08:14, 8 April 2008 (MDT)

It is based on the observation that a typical Unix Shell contains two very different languages with in it. One with an imperative, algol like syntax and semantics. The second is dataflow oriented, and semantics is based on immutable (possibly infinite) sequences.

While shells provide both in the same language, I would like to posit that the embedding of Pipes in unix is similar to embedding of SQL with in PLSQL - i.e. both are essentially different paradigms, and provide very different mechanisms for computation.

It is even more clear if you consider a similar system : CMS pipelines in Rexx. While Rexx is used to define stages, and even utilize the result of CMS pipelines, the pipelines have tottally different syntax and semantics from Rexx and exist indipendentaly of Rexx.
[[User:Rahul|Rahul]] 09:21, 8 April 2008 (MDT)

Revision as of 15:21, 8 April 2008

UNIX Shell?

What is the difference between this "language" and UNIX Shell? Could we consider it an implementation or dialect instead? --IanOsgood 08:14, 8 April 2008 (MDT)

It is based on the observation that a typical Unix Shell contains two very different languages with in it. One with an imperative, algol like syntax and semantics. The second is dataflow oriented, and semantics is based on immutable (possibly infinite) sequences.

While shells provide both in the same language, I would like to posit that the embedding of Pipes in unix is similar to embedding of SQL with in PLSQL - i.e. both are essentially different paradigms, and provide very different mechanisms for computation.

It is even more clear if you consider a similar system : CMS pipelines in Rexx. While Rexx is used to define stages, and even utilize the result of CMS pipelines, the pipelines have tottally different syntax and semantics from Rexx and exist indipendentaly of Rexx. Rahul 09:21, 8 April 2008 (MDT)