Skip to content

v0.2.0 Beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@electrikmilk electrikmilk released this 17 Mar 21:01
· 137 commits to main since this release

Highlights

  • Adds arguments to custom actions in #48.
  • Refactors old custom actions into Copy & Paste macros.
  • Fixes an issue with action constants and variables.
  • Adds a test to ensure we support very smol updater (we do!). There is no affiliation, I think this is a neat updater that makes implementing self-updating very simple in Shortcuts and Cherri.
  • Removes deadcode.
  • Refactors the way actions are defined.
  • Updates to Go 1.22 and updates UUID dependency.
  • Prevents possible infinite loops when collecting objects (generally text between curly braces).
  • Adds skipping whitespace to the parser to allow for extra whitespace.
  • Fixes issues generally with parsing.
  • Fixes commented #include not being ignored.
  • Ignores comments generally when pre-parsing.
  • Refactors #include to use raw strings to improve compilation speed.
  • Improves #include generally.
  • Reduces the complexity of collecting values and definitions.
  • Reduces the complexity of generating the property list output.
  • Stop redefining references to variables to prevent the definition of a variable from changing.
  • Fixes repeat item index
  • Fixes action search

Full Changelog: v0.1.12-beta...v0.2.0-beta

What's Next?

  • Decompilation: The plan is to be able to import a Shortcut from a Shortcut iCloud URL or file path to a local unsigned Shortcut and the compiler will "decompile" it to Cherri code. This will be integrated into the playground and the macOS app once it reaches maturity. This will help a lot more people use Cherri if they can get a starting point by importing one of their existing Shortcuts. This has been progressing a lot lately and works for the most part. It is not just yet ready to merge into main.
  • Implementing a lot more actions as this has been a sore thumb in the compiler while I've had tunnel vision on other stuff. 😅 Not that many remain, there are only 3 categories of actions, and one of those categories is mostly finished.
  • Improving the preview-shortcut npm package I maintain for Shortcut previews on the web. It is used by the Cherri website and Playground.

Future

  • Fixing issues with syntax highlighting in the playground and trying to improve it by adding more helpful features now that it has more interest, throwing some love to Windows, Linux, etc. users.
  • macOS app: Implement proper syntax highlighting for Cherri and hopefully add some kind of autocomplete or search for actions you can use without having to always refer to the documentation.
  • Possibly focus on the compiler being more self-documenting so we can generate documentation or more rich autocomplete/intellisense data for the IDEs.

External

  • Cherri playground now says the version of the compiler it is using.

RoutineHub

The project is being featured on their homepage! On a carousel on their homepage, RoutineHub users will now be able to find out about Cherri. That's super cool!

Screenshot 2024-03-17 at 16 54 31

I was also interviewed by them, which you can watch here! https://youtu.be/x0hwrQ51Sbs