Skip to content

briansfrank/xeto-misc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Xeto is a data-only type system. The name is derived from the phrase "eXtensible Explicitly Typed Objects". Xeto defines a simple plain text format used to declare types and to exchange typed data. It is designed to build and validate Project Haystack data models. But Xeto is general purpose enough to use with any structured data including CSV, JSON, or SQL data.

Core development for Xeto is under the Haxall Repo. This repo provides additional supporting tools and libraries.

Videos

The following series of videos provide instructions on how to use this software to validate data:

  • Deep Dive: presentation from Haystack Connect in June 2023 (latest information)

Older videos (some information is slightly out of date):

Change Log

Important changes since videos were recorded:

Build 3.1.7.501 (28-Apr-2023)

  • Runtime uses lib/xeto zip files with xetolib file extension

  • Tools all work with src or zip (src is used if available)

  • Run bin/xeto env to see how given xeto lib is loaded

  • New bin/xeto json-pragma command to only parse lib meta into JSON

  • Dist zip file includes HTML docs for specs now

  • Start re-organization and enhancing ph.points

  • Major refactoring of compiler to process inheritance at compile time

  • Enhance instantiate() function with new graph option

  • Add unloadAll() function to Axon shell

Build 3.1.7.500 (24-Mar-2023)

  • Axon shell allows you to evaluate new specs on the fly

  • Qualified names now use double colon such as ph.points::Sensor

  • Can load database from http URIs now too

  • Query slot syntax is now Equip.points instead of Equip->points

  • Functions that have been renamed:

    • isa -> is/specIs
    • query -> queryAll
    • lintFit -> fitsExplain
    • lintFindAllFits -> fitsMatchAll
  • New xeto command line tool to compile to JSON

  • Subset of docs show data type functions (data lib)

Setup

Xeto is packaged as a simple zip file with a command line tool that requires the Java VM to run. Steps to download and run:

  1. Make sure you have Java installed

  2. Download the latest release

  3. Unzip to your local machine

  4. You might need to run 'chmod +x' on the bin scripts (OS X)

  5. Run 'bin/axon -v' to verify the install

  6. Watch the videos above to learn how to use the axon shell to validate your data

License

Protos is licensed under the Academic Free License 3.0.

About

Xeto supporting scripts, libs, etc

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages