Giter Club home page Giter Club logo

hex-silo's Introduction

hex-silo

a project where I abuse CC and hexcasting circles (+ ducky peripherals to tie them together)
to achieve what can only be describes as "some" storage

so re-build pattern registry run node util/buildreg.js
to compile a hexpattern into a json run node util/parsehex.js <hexpattern> [out.json]
so to compile circle.hexpattern you would
node util/parsehex.js circle.hexpattern circle.json
you can then drop hex.lua into a cc machine along with the circle.json
and then in cc run hex load circle.json
this will write circle.json to the first focal port it can connect to

note: currently parsehex messes with number patterns (by doing a intro/retro/flock disnt.)
so if you are indexing into your source code... it may get a bit messy


notes about hexpattern format

  • <Iota>: direct insertion, no escape
  • <{Iota}>: embed with intro/retro/flock
  • <\Iota>: embed with consideration(s)
  • <<Iota>>: embed with intro or considerations, whichever is shorter

currently you can use json for iotas thatdont have a pre-handled parser
types with # are json and do not have a shorthand current types that can be parsed

  • #Numbers (decimal and not)
  • #Strings ("quoted strings")
  • #Booleans (true/false (case sensitive))
  • Vector3 ((x,y,z) format, could use json {"x":0,"y":0,"z":0} format also if you wish)
  • list of iotas [iota,iota2,iota3]
  • Null (null or {"null":true})
  • Garbage ({"garbage":true} (json), or garbage (not case sensitive))

hex-silo's People

Contributors

walksanatora avatar

Stargazers

 avatar  avatar  avatar  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.