OneScript
  • Welcome to OneScript
  • OneScript Overview
    • Dates and Times
    • Sets
    • Types
    • Fields
      • Helper Fields
      • Labels
      • Standard Text
    • Snapshots
    • State Management
    • Future Features
  • Get OneScript
  • Macro Overview
    • Macro Virtual Machine
    • Code Instructions
  • Standard Libraries
    • Core
    • Data
    • Interview Model
  • Linker Overview
    • Objects
  • Contact Us
Powered by GitBook
On this page
  • Features
  • Interview Model
  • Status
  • Macro
  • Linker

Welcome to OneScript

A Researchers Scripting Language

NextOneScript Overview

Last updated 1 year ago

OneScript is a wonderful way to write programs that target running surveys. The basic language offers a powerful programming tool and the associated libraries makes it possible to access survey capabilities for different presentation layers such web desktop and mobile app.

OneScript is friendly for new programmers but also familiar to programmers to c, c#, Java, JavaScript and such languages.

The goal of the OneScript project is to provide the best available language that works for researching. The ability to set up a set of questions and define the logic to process those questions and ultimately store them in a data structure that can be used with the DIY Surveys Data Analytics and/or third party data analytics. Finally offering the ability to move back and forth through logic in the same way you can move back and forth through a survey!

For more information on the OneScript language refer to the .

Features

The OneScript features are designed to work together to make it easy for a developer to build data feedback and analytics solutions.

  • follows a familiar language construct offered by languages such as c#, Java and JavaScript.

  • Access to a common platform on Windows, Linux, MacOS, iOS and Android that supports the

  • Provides the ability to create reusable libraries of code to save development time.

  • Follows object orientated features and supports basic classes with c# properties.

  • Interview definition language capability with the and the .

  • Provides , the ability to move back and forth points in a program, saving and restoring points in the state of objects in the running application. This unique feature offers support for moving back and forth through questions in a survey experience.

Interview Model

The is a part of the OneScript language that allows you to create the structure to ask and store questions for a survey. There are a number of types of questions that be declared in :

Type

Description

Informational

no question asked!

String

a basic free text question.

Categorical

a single or multiple choice type question.

Date

a date and time type question.

Image

a media type question.

Structure

a group of questions to be plugged into a single question.

Page

a group of questions for a page.

Loop

a group of questions that can be turned into a grid.

Status

Macro

The OneScript language is compiled into an object library that is based on a language called Macro that can be translated by the OneScript Linker into a image for the Macro Virtual Machine. It provides a combination instruction processing with operand specification on a stack based machine.

Linker

These basic question types are further enhanced by control types that are realized in the Angular Material Front End.

This project is currently in preview and OneScript is being tested as part of an and in the DIY Surveys Solution.

In order to help with the testing of the OneScript model the is also provided used to generate object for the Linker that are more directly associated with the .

A of objects created by the Macro compiler and OneScript compiler into an executable suitable for the contained within the OneScript Runtime. This supports the ability to create reusable objects across different projects and work with different languages with other features that may help support other capabilities.

It is backed up by a set of classes that support an (a single survey) experience both at the scripting level and the presentation level depending on the platform.

SDK
Macro Language
Macro Virtual Machine
Linker
Macro Virtual Machine
Interview Model
OneScript Language Overview
OneScript
Macro Virtual Machine
fields language declaration
Interview Module standard library
Interview Model
OneScript Field Declarations
Snapshots