Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
soc:2009:lynusvaz:notes:start [2009/06/24 21:36]
lynusvaz
soc:2009:lynusvaz:notes:start [2009/08/15 08:40]
lynusvaz
Line 1: Line 1:
 ====== Lynus Vaz: Enhanced scripting language ====== ====== Lynus Vaz: Enhanced scripting language ======
 ===== Notes ===== ===== Notes =====
 +[[.:​scripting_doc:​Features added|Documenting the new features]]
 I've taken a few ideas from Fabrice Bellard'​s C OTCC compiler: http://​bellard.org/​otcc/​ I've taken a few ideas from Fabrice Bellard'​s C OTCC compiler: http://​bellard.org/​otcc/​
  
Line 6: Line 7:
  
 Here's the POSIX specification for the shell: [[http://​www.opengroup.org/​onlinepubs/​009695399/​utilities/​xcu_chap02.html]] Here's the POSIX specification for the shell: [[http://​www.opengroup.org/​onlinepubs/​009695399/​utilities/​xcu_chap02.html]]
 +
 +And the PXE specification:​ [[http://​www.pix.net/​software/​pxeboot/​archive/​pxespec.pdf]]
  
 Proposed syntax: Proposed syntax:
Line 45: Line 48:
 Proposed syntax for while loops: Proposed syntax for while loops:
   while <​condition>​   while <​condition>​
 +  do
       <​statements>​       <​statements>​
-  ​wend+  ​done
  
 Proposed syntax for for loops: Proposed syntax for for loops:
   for <​variable>​ in <value list>   for <​variable>​ in <value list>
 +  do
       <​statements>​       <​statements>​
-  ​next+  ​done 
 +Pretty similar to the shell syntax, so it should be familiar. 
  

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:lynusvaz:notes:start (generated for current page)