free MP3s recorded of codesimian: fractalSound1.mp3 b.mp3 c.mp3 d.mp3 but its more fun to create your own...

Start CodeSimian NOW (applet)

limited by internet security,
not all parts of CodeSimian work here.
Requires Java 1.5 and 2 ghz CPU

Download CodeSimian NOW (JAR file)

WORKS BEST. click OPEN,
or click SAVE then double-click CodeSimian.jar
Requires Java 1.5 and 2 ghz CPU

Compare Programming-Languages

examples of equal code in CodeSimian language and Java language

Intro/Tutorial | SourceCode | FAQ? | ListOfCommands | ~~Sounds/Audio (generated by equations)~~ | PlayElectricGuitarWithTheMouse | FREE MP3s (play and modify them with CodeSimian) | Pictures | Javadoc/TechnicalDocuments | CompareToJava | Plans (what to build) | RootClass | 1 Type | SystemReq | Humans | DNA | Bugs/Flaws | Wiki | Def | my resumE (give me a programming job) | Contact

CodeSimian hides low-level details of Java code so CodeSimian code is shorter.

That simpleness costs a lot of speed, but people are LAZY so shorter code dominates. Thats why you dont see many C programmers anymore, despite its speed advantage over C++.

CodeSimian is a Java program so when you write these shorter codes, the longer Java code is actually running in the background.



CodeSimian

for(7#i 15 printD(i))

Java

for(int i=0; i<15; i++) System.out.print(i);

what it does

prints 0123456789101112131415
to standard-output-stream


CodeSimian

window#button_and_slidebar(
   splitPane(
     slidebar#s(.3)
     button#printSlidebar(printD(s))
   )
   300
   200
)

Java

Frame window=new Frame();
window.setSize(300,200);
window.setTitle("button_and_slidebar");
JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
final JSlider slidebar = new JSlider(0, 1000000, 300000);
JButton button=new JButton("printSlidebar");
ActionListener printSlidebar = new ActionListener(){
   public void actionPerformed(ActionEvent e){
     System.out.print(slidebar.getValue()/1000000.);
   }
};
button.addActionListener(printSlidebar);
split.add(slidebar);
split.add(button);
window.add(split);
window.setVisible(true);

That same CodeSimian code squashed into 1 line:

window#button_and_slidebar(splitPane(slidebar#s(.3)button#printSlidebar(printD(s)))300 200)

what it does

opens a window with a "printSlidebar" button that prints the number value of the slidebar when you click it


CodeSimian

5#x
+#y(x x)

Java

int x = 5;
int y = x+x;

what it does

declares 2 variables, x with value 5, and y with value x+x


CodeSimian

func#square( 0#s *(s s) )

Java

float square(float s){ return s*s; }

what it does

defines a function that returns the square of its parameter


CodeSimian

setP(square 0 8)
=F(0#sixtyFour square)

Java

float sixtyFour = square(8);

what it does

assuming the square function exists, calculates the square of 8








Privacy Policy