|
From: <ho...@us...> - 2003-12-15 05:16:19
|
Update of /cvsroot/ganc/web
In directory sc8-pr-cvs1:/tmp/cvs-serv8413
Modified Files:
index.html
Log Message:
Use table in index.html instead of relying on CSS (it doesn't work well in some browsers)
Index: index.html
===================================================================
RCS file: /cvsroot/ganc/web/index.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.html 14 Dec 2003 00:59:49 -0000 1.2
--- index.html 15 Dec 2003 05:16:16 -0000 1.3
***************
*** 31,35 ****
<p>
ganc has a very simple syntax. There's no learning curve. If you want to add two plus two
! you just type '2 + 2' and that's it!<br />
It can also handle more complicated stuff involving several expressions in the same line,
functions, implicit product, variables, numbers in different bases, bitwise operations,
--- 31,35 ----
<p>
ganc has a very simple syntax. There's no learning curve. If you want to add two plus two
! you just type '2 + 2' and that's it!
It can also handle more complicated stuff involving several expressions in the same line,
functions, implicit product, variables, numbers in different bases, bitwise operations,
***************
*** 37,40 ****
--- 37,54 ----
Some examples of valid ganc expressions are:
+ <table cellspacing="5">
+ <tr><td>2 + 2 * 3</td><td><em>precedence is handled adequately (= 8)<em></td></tr>
+ <tr><td>sin 45</td><td><em>trigonometrical functions<em></td></tr>
+ <tr><td>2 sin 45</td><td><em>implicit product</em></td></tr>
+ <tr><td>a= 2 + 2 * 3</td><td><em>variable asignment</em></td></tr>
+ <tr><td>2*a + 2a</td><td><em>variable use</em></td></tr>
+ <tr><td>c= 2*b= a + 2a</td><td><em>in-line variable asignment (b=a + 2a and c= 2*(a + 2a))</em></td></tr>
+ <tr><td>2 + 3; b= 1 - 2; 2b</td><td><em>several expressions at the same time</em></td></tr>
+ <tr><td>1b5_16</td><td><em>hexadecimal number (base 16)</em></td></tr>
+ <tr><td>3vgt_32; 1001_2</td><td><em>base 32 and binary</em></td></tr>
+ <tr><td>23 :: _16</td><td><em>number 23 expressed in base 16</em></td></tr>
+ <tr><td>f_16 & 1101_2</td><td><em>bitwise 'and' operation</em></td></tr>
+ </table>
+ <!--
<ul>
<li><span>2 + 2 * 3</span><em>precedence is handled adequately (= 8)</em></li>
***************
*** 50,53 ****
--- 64,68 ----
<li><span>f_16 & 1101_2</span><em>bitwise 'and' operation</em></li>
</ul>
+ -->
</p>
<p>
|