snapscript / snap-develop

Snap IDE
2 stars 1 forks source link
android cef development-environment programming-language repl

Snap

Snap is an open source, optionally typed, object oriented scripting language for the Java platform. The learning curve is small for anyone with experience of Java, JavaScript, TypeScript, or Scala, amongst others. It has excellent integration with the host platform, and can do whatever can be done with Java and much more.

The language is ideal for embedding in to an existing application, and is a fraction of the size of similar languages for the Java platform. In addition to embedding it can be run as a standalone interpreter and has an development environment which allows scripts to be debugged and profiled.

http://www.snapscript.org/

Development Environment

Snap comes with a development environment that is available over HTTP on any web browser that supports Web Sockets. To develop and debug scripts the devlopment environment can be started with the command shown below. All that is required is a web browser and Java 1.5 or greater. The development environment is a single JAR file that can be downloaded from here. In addition an embeddable version is available which can be integrated in to any Java application.

java -jar snapd.jar --directory=work --port=4457

The development environment can use hot stand-by agents to improve responsiveness, the agent pool can be configured on the command line. In addition an agent can connect through the HTTP port using the HTTP CONNECT request and begin a debug session. An example configuration is shown below.

java -jar snapd.jar --directory=work --port=4457 --agent-pool=4 --server-only=true

Videos can be viewed here

Debug Android Game

Debug Android Game

Debug Desktop Game

Debug Desktop Game

Below are some screenshots of the development environment.

Breakpoints

Developer Breakpoints

Console

Developer Console

Variables

Developer Variables

Threads

Developer Threads

Process View

Developer Debug

Profiler

Developer Profiler

Debug Perspective

Developer Debug Perspective

Full Screen

Developer Full Screen

Dark Theme

Developer Dark Theme

Search Types

Developer Search Types

Search Files

Developer Search Files

File Files

Developer Find Files

Save Resources

Developer Debug

Open Projects

Developer Debug