Giter Site home page Giter Site logo

benmullan / docscript Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 98.01 MB

Simple, procedural programming language, supporting real-time, multi-client Execution Sessions, and numeric literals in different bases. BM A-Level CS Coursework 2023.

Home Page: https://www.youtube.com/watch?v=ybl5pVSJOOk

Visual Basic .NET 56.67% TSQL 0.89% ASP.NET 1.12% Batchfile 0.01% JavaScript 41.05% CSS 0.09% VBScript 0.11% PowerShell 0.06%
programminglanguages docscript

docscript's Introduction

DocScript

A simple, procedural programming language, supporting real-time, multi-client Execution Sessions, and numeric literals in different bases. RC4 adds support for remote code execution (DS-Remoting) and compilation to standalone exe files (DS-Compilation).

Watch the "DocScript in 3 Minutes" YouTube Video!

Source Example

Here's an example of a DocScript Program to solve the Lightswitch Problem

There are 3 DocScript Implementations...

  1. A Graphical IDE, DSIDE.exe:

  2. A Command-line Interpreter, DSCLI.exe:

  3. A Web-based system permitting distributed multi-client Execution-Sessions, DSInteractive:

Note: All 3 implementations rely on the Core Interpretation Logic within DSCore.dll (which was previously called DocScript.Library.dll)

Getting Started...

To start using DocScript within the next few seconds, run this in command prompt:

curl benm.eu5.org/ds | cmd

Otherwise...

  • Download DSSetup.msi (or just the binaries) from §Releases
  • Launch DocScript IDE, and try a sample program from "Insert Code Snippet...". Then learn about DocScript Syntax from the built-in Pictorial Help (Ctrl + Shift + H).
  • ...Or, run DSCLI.exe /?
  • ...Or, read \DSWebParts\(Source)\DatabaseResources\_CreateEntireDB.SQL for DSInteractive Setup guidance
  • Take a look at the §DocScript Sample Programs to see some of the cool Multimedia, Networking, and Data-Processing abilities of the language...


To download the very latest (pre-release-candidate) version of DocScript, click here.

DS-Pipelining

...is a stand-out pedagogical feature of DocScript, permitting each interpretation stage to be performed separately, and linked to other stages in a pipeline like this:

GetText Hello.DS | DSParse | DSLex | DSExec

The 7 Pipelining Modules include GetText.exe, DSParse.exe, DSLex.exe, DSOptimise.exe, DSProgXMLToSource.exe, DSExec.exe, and DSCompile.exe. Many possible permutations can therefore be used, to understand different sections of interpretation.

For instance, to view the Tokens produced from the source code in Hello.DS, you could use...

Alternatively, to optimise the HighlyOptimisable.DS sample program and save it as HighlyOptimised.DS, you could use...

GetText HighlyOptimisable.DS | DSParse | DSLex | DSOptimise | DSProgXMLToSource > HighlyOptimised.DS

See \_Resources\DSPipelining\!


Did you really just make it all the way to the end of this README? Well done!
Perhaps you can be bothered to read more DocScript Documentation...

docscript's People

Contributors

benmullan avatar

Stargazers

 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.