Git Product home page Git Product logo

story's Introduction

Story

Story is a scripting language designed to require no programming experience to use. Right now this repository just has a description of the language, but eventually the interpreter and editor will be written in JavaScript and be able to be run in a web browser. This is a work in progress.

Design

Story is designed to combine the best aspects of visual and traditional text-based programming languages for beginners. Visual programming languages (like Scratch or App Inventor) are easy to learn and use with no experience required, and most importantly they are discoverable - the editor usually comes with a palette of all the commands you can use, and those commands visually show how they connect together. Text languages are much more efficient to work with (having to click and drag blocks around gets old quickly), but they aren't nearly as discoverable as visual languages, they require learning a special syntax, and it's much easier to make simple mistakes.

Story will be a text based language designed to keep the discoverability of visual programming languages, using a special JavaScript editor. Wherever you place your cursor, the editor will show you what commands or expressions you can insert at that place, with a set of buttons for those phrases. You can construct programs by clicking the buttons to assemble phrases, or you can type them yourself. When you add a command, its arguments are represented by blanks to fill in, and putting your cursor on those blanks will show buttons for expressions that could be used in that place. The syntax is designed to be as simple as possible. See the syntax.md file for more info on the syntax.

The commands availible for scripts will be defined in a Language Definition file (JSON). See the language-definition.md file for more info on that, and see the example directory for a example language that could be created.

The editor will compile scripts to a JSON file - it will be up to developers to write interpreters for the compiled scripts. See compiled.md for a description of the format.

story's People

Contributors

vanjac avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.