[Pixelle-commit] SF.net SVN: pixelle:[284] trunk/pixelle
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-07-18 20:02:34
|
Revision: 284
http://pixelle.svn.sourceforge.net/pixelle/?rev=284&view=rev
Author: dbrosius
Date: 2009-07-18 20:02:33 +0000 (Sat, 18 Jul 2009)
Log Message:
-----------
add functions to properties, and make random a method
Modified Paths:
--------------
trunk/pixelle/etc/Pixelle.g
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
Modified: trunk/pixelle/etc/Pixelle.g
===================================================================
--- trunk/pixelle/etc/Pixelle.g 2009-07-18 19:55:14 UTC (rev 283)
+++ trunk/pixelle/etc/Pixelle.g 2009-07-18 20:02:33 UTC (rev 284)
@@ -415,7 +415,7 @@
{
mv.visitLdcInsn(Double.valueOf(Math.PI));
}
- | 'random'
+ | 'random' '(' ')'
{
mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/lang/Math", "random", "()D");
} ;
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-18 19:55:14 UTC (rev 283)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-18 20:02:33 UTC (rev 284)
@@ -138,3 +138,22 @@
label.subtract = Subtract (-)
label.not = Not (!)
+label.functions = Functions
+label.abs = abs(x)
+label.max = max(x, y)
+label.min = min(x, y)
+label.pow = pow(x, y)
+label.sqrt = sqrt(x)
+label.sin = sin(x)
+label.cos = cos(x)
+label.tan = tan(x)
+label.asin = asin(x)
+label.acos = acos(x)
+label.atan = atan(x)
+label.log = log(x)
+label.exp = exp(x)
+label.e = e()
+label.pi = pi()
+label.random = random()
+
+
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-18 19:55:14 UTC (rev 283)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-18 20:02:33 UTC (rev 284)
@@ -134,4 +134,22 @@
label.divide = Divide (/)
label.add = Hinzuf\xFCgen (+)
label.subtract = Subtrahieren (-)
-label.not = Nicht (!)
\ No newline at end of file
+label.not = Nicht (!)
+
+label.functions = Funktionen
+label.abs = abs(x)
+label.max = max(x, y)
+label.min = min(x, y)
+label.pow = pow(x, y)
+label.sqrt = sqrt(x)
+label.sin = sin(x)
+label.cos = cos(x)
+label.tan = tan(x)
+label.asin = asin(x)
+label.acos = acos(x)
+label.atan = atan(x)
+label.log = log(x)
+label.exp = exp(x)
+label.e = e()
+label.pi = pi()
+label.random = random()
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|