1.1.4 • Published 4 years ago

wagl v1.1.4

Weekly downloads
33
License
-
Repository
github
Last release
4 years ago

WAGL

What a great language!

WAGL is a dead-simple language that easily stores data. You might be wondering why it's different from other languages like it. Well it isn't. There's nothing special about it. Deal with it. Nonono just kidding. There's ONE thing that separates it from others like it: The language has an internal structure idealized for progressive integration with the functional vector translation stack, in which it processes the optimization matrix and dispatches the return value to the computer's analogue buffer. In other words: It works. It just works.

Official Bindings

Supported:

Coming Soon:

Usage

Wagl has a simple heirarchy system like json, but doesn't have the annoying quotes that need to surround evey friggin' word.

Supported Types

  • Float
  • Int
  • String
  • Char
  • Boolean
  • Object

Syntax

  • Tabs and spaces do not make a difference in the code.
  • The standard naming style is snake_case.
  • Semicolons (;) are used to end a child-parent relationship and must be on their own line
    • Note: Semicolons are optional if there is not a variable underneath.
  • Comments begin with a pound: #.
  • The only characters that should be used are:
    • [A-Za-z0-9]
    • " & '
    • . & _
# simple example
employees
  matt
    name "Matt Murdock"
    age 30
    is_male true
    latitude 24.5
    longitude 79.2
  ;
  jessica
    name "Jessica Jones"
    age 35
    is_male false
    latitude 19.26
    longitude 47.63
  ;
;

Reading/Writing in other languages

JavaScript

Installation

To install WAGL, use npm i wagl in your terminal. Make sure that NodeJS is installed prior to downloading this module

Example

// Get WAGL via Node's `require` function
const wagl = require('wagl');

// The argument is the local/absolute path to the WAGL file
const out = wagl.deserialize('../tests/test.wagl');

console.log(out);
/* Output:
{
  employees: {
    matt: {
      name: 'Matt Murdock',
      age: 30,
      is_male: true,
      latitude: 24.5,
      longitude: 79.2
    },
    jessica: {
      name: 'Jessica Jones',
      age: 35,
      is_male: false,
      latitude: 19.26,
      longitude: 47.63
    }
  }
}
*/

Java

Python

C

C/C++

Rust

Go

Swift

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago