Coder Social home page Coder Social logo

josephshenton / cherri Goto Github PK

View Code? Open in Web Editor NEW

This project forked from electrikmilk/cherri

0.0 1.0 0.0 130 KB

iOS Siri Shortcuts Programming Language ๐Ÿ’

Home Page: https://electrikmilk.github.io/cherri/

License: GNU General Public License v2.0

Go 100.00%

cherri's Introduction

cherri

Cherri

Cherri (pronounced cherry) is a iOS Siri Shortcuts programming language, that compiles directly to a valid runnable Shortcut.

Documentation

hello-world.cherri

#define color yellow
#define glyph smiley
#define name Hello, Cherri!

@message = "Hello, Cherri!"
alert(message, "Alert", false)

This project is in the early stages of development, but it does have an _ idealistic_ roadmap.

Usage

cherri file.cherri

Run cherri without any arguments to see all options and usage. For development, use the --debug (or -d) option for stack traces and create a plist file.

Why macOS only?

Generating valid Shortcuts is only possible on macOS. I am planning to make a web editor once the compiler matures a little more that will turn out valid Shortcuts.

Development on other platforms

As it stands, I don't want someone to get confused and think Shortcuts compiled using Cherri on other platforms will run on their Mac or iOS device. However, you can build the compiler for your platform and use the --unsigned (or -u for short) to skip signing the compiled Shortcut, but the compiled Shortcut will not run on iOS or macOS, obviously. The compiler currently only supports Unix-like systems.

Read my full thoughts on this

Why another Shortcuts language?

  1. Because it's fun :)
  2. Some languages have been abandoned, don't work very well, or no longer work.
  3. I don't want Shortcuts languages to die. There should be more, not less.
  4. Some stability that comes with the project being on macOS and not iOS.
  5. I am not aware of any project other than one that compiles a Shortcut in a way that is meant for a desktop OS.

Credits

Reference

Inspiration


The original Workflow app assigned a code name to each release. Cherri is named after the second to last update "Cherries" (also cherry is one of my favorite flavors).

cherri's People

Contributors

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