JsOs

JsOs

Cerequus
Nov 25, 2019
  • 2.5 MB

    File Size

  • Android 4.0.3+

    Android OS

About JsOs

A platform to write javascript with full access to android API

A platform to write javascript with full access to android API

How to use

The app has two modes:

1 the editor mode, with - as bar character

2 the command model, with = as bar character

use Alt+x to toggle between these modes

The editor mode.

Editor the current file and run.

Ctrl+ (f/b/n/p) cursor right/left/down/up (like in emacs)

Ctrl+ space set mark

Ctrl+ (w/y) cut/paste

Ctrl+ (e/a) end/begining of line

Ctrl+ (j/r) run code (without/with) babel in js thread (different from ui thread) and clear content

Ctrl+ u run code with babel in main UI thread and clear content (this is necessary when user want's to create a UI program, otherwise, just run it in js thread)

Ctrl+ q, show the magic input screen (a novel design)

Ctrl + ( [ / ] ), toggle history

Ctrl + i, send to IO (use for java.read)

Ctrl+c, clear output

TAB: intelligent autocomplete

Alt+ w copy

Alt + (f/b) word forward/backward

Alt+ (j/r) run code (without/with) babel in js thread (different from ui thread) and don't clear content

Alt+ u run code with babel in main UI thread and don't clear content (this is necessary when user want's to create a UI program, otherwise, just run it in js thread)

The command mode

This mode is to create, open, list, and execute files

Current support command

ls: list files and directories in current working directory

cd: change working directory

mkdir: create new directory

clear: clear output

save filename: save the file

open filename: open the file and into editor mode

cat filename: print the file content to output

examples: write the example files

otherwise, the system search the file same as the command and push the arguments into a variable exposed as arg as a javascript array

Manage Js contexts

Each javascript context has its own heap, so the user can create an isolated namespace associated with a default java thread to execute code. Since the underlying javascript engine (based on duktape) is single thread essentially, i.e, each time, only one thread can access the heap at a given time, the JsOs use the hack in method to execute any heap from the main thread (in principle,from any thread) in contrast to the default js thread by using the locker.

Ctrl+c create a js thread

Ctrl+k delete the current js thread (the default heap and thread to execute code)

Ctrl+o, show the information for js threads

Ctrl+(-/=) set the current thread as (previous/next) thread

Alt+c create new thread

Show More

What's new in the latest 2.0

Last updated on 2019-11-25
First release, with basic function and web server
Show More

Videos and Screenshots

  • JsOs poster
  • JsOs screenshot 1
  • JsOs screenshot 2
  • JsOs screenshot 3
  • JsOs screenshot 4

JsOs APK Information

Latest Version
2.0
Category
Education
Android OS
Android 4.0.3+
File Size
2.5 MB
Developer
Cerequus
Safe & Fast APK Downloads on APKPure
APKPure uses signature verification to ensure virus-free JsOs APK downloads for you.

Old Versions of JsOs

JsOs 2.0

2.5 MBNov 25, 2019
Download
APKPure icon

Super Fast and Safe Downloading via APKPure App

One-click to install XAPK/APK files on Android!

Download APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies