Skip to content

Commit

Permalink
before drawing FregeFX as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Dierk Koenig committed Aug 23, 2015
1 parent d959248 commit 0f94ca1
Show file tree
Hide file tree
Showing 335 changed files with 10,568 additions and 8,963 deletions.
7 changes: 3 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ In addition to the commands in the command-line REPL like `:help`, you can press
with all available shortcuts and commands.
The "history" list is pre-populated with commands that you may want to try out.
New in version 0.4.0:
* :l http:... to load a script from URL
* import ... to make the module known
* play ... for graphical output
* `:l http:...` to load a script from URL
* `:browse Stairs` to see what's in the _Stairs_ module
* `play ...` for graphical output
Please note that _this GUI is not an IDE_. The content of the editor is fed line-by-line to the
command-line REPL and this limits the amount of work that one can do in "one go".
Expand Down
3 changes: 1 addition & 2 deletions client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ sourceSets {

dependencies {
compile files("$jfxLibDir/jfxrt.jar") // TODO: find out why this seems to be necessary even on JDK 8
compile project(':fregeFX')
compile project(':preFregeFX')
compile project(':FregeFx')
}

boolean runningOnJDK8() {
Expand Down
10,538 changes: 10,538 additions & 0 deletions fregeFX/src/main/frege/fregefx/JavaFxAll.fr

Large diffs are not rendered by default.

42 changes: 0 additions & 42 deletions fregeFX/src/main/frege/org/frege/JavaFX.fr

This file was deleted.

26 changes: 26 additions & 0 deletions fregeFX/src/main/java/org/frege/FregeEventHandler.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.frege;

import frege.runtime.Applicable;
import frege.runtime.Delayed;
import frege.runtime.Lambda;
import javafx.event.Event;
import javafx.event.EventHandler;

public class FregeEventHandler implements EventHandler {
protected Lambda lambda;

public FregeEventHandler(Lambda lambda) {
this.lambda = lambda;
}

@Override
public void handle(Event event) {
try {
Applicable inter = lambda.apply(event);
Delayed.forced(inter.apply(null).result().forced()); // the second argument is the IO context
} catch(RuntimeException re) {
re.printStackTrace();
throw re;
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions preFregeFX/src/generated/frege/javafx/animation/PathTransition.fr

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions preFregeFX/src/generated/frege/javafx/animation/Timeline.fr

This file was deleted.

9 changes: 0 additions & 9 deletions preFregeFX/src/generated/frege/javafx/animation/Transition.fr

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0f94ca1

Please sign in to comment.