Skip to content

alexyuly/ViewScript

Repository files navigation

ViewScript

Power Tools For Web Apps

⚠️ ViewScript is in its early stages of development. It's not ready to use for building apps, but a pre-release demo is available now. Please continue to check here for updated documentation, releases, and future plans.

Start

You'll need Node.js 20 to run ViewScript.

npm install viewscript-toolkit --global

viewscript create YourProjectName

cd YourProjectName

npm install

npm start

Overview

Every ViewScript app is represented by a JSON object of type App from the ViewScript Abstract Syntax Tree.

Today, JavaScript and TypeScript developers can use the ViewScript Bridge to build App objects, using ergonomic helper functions. The Bridge hands off App objects to the ViewScript Runtime, which executes them.

In future, developers will be able to write apps using the ViewScript language, and the Compiler will build App objects, to be bundled with the Runtime as standalone executables.

Latest Release:

  • ViewScript 0.4.0 (Pre-release)
    • Build a client-side todo list app using ViewScript Bridge

Expected Releases:

  • ViewScript 0.5 Espresso (Pre-release)
    • Add network requests to the todo list app using ViewScript Bridge
    • Implement tasks, models, and methods
  • ViewScript 1.0 Absinthe
    • Introduce the ViewScript programming language
    • Compile ViewScript source code into app trees
    • Bundle app trees with ViewScript Runtime as standalone HTML and JS

ViewScript-Bridge Code Examples

https://github.com/alexyuly/ViewScript/tree/main/examples/bridge/src

⚠️ Under Construction: Documentation, Diagrams, & Examples

About

ViewScript.com is coming soon.

Resources

License

Stars

Watchers

Forks

Packages

No packages published