Skip to content
/ CatSh Public

CatSh is a custom language that gets converted to a scratch .sb3 file.

License

Notifications You must be signed in to change notification settings

Spelis/CatSh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordForum PageWiki

CatSh is a custom language that gets converted to a scratch .sb3 file.

What you'll need:

  • python
  • wave python module

Running:

  • open a shell
  • navigate to the folder where the python compilation script is located
  • run python main.py convert {path to .catsh file}
  • import the output.sb3 file into scratch and enjoy!
  • NOTE: there may be some duplicate blocks when importing. that is not done by the converter instead is done by scratch. if you know a fix, please let me know.

Changelog:

Version 1.0:

  • added the compiler
  • added variable support
  • added converting to .sb3 file (compiling basically)
  • added all blocks
  • blocks in blocks (weird syntax)

Screenshots and showcases:

say for seconds block on stage: (Apr 3)

(says undefined for a split second when run)

image

warning messages in converter: (June 29)

image

colorized converter output: (June 30)

image

VSCode custom syntax highlighting (June 29-30)

image

no warnings output: (June 30)

image

About

CatSh is a custom language that gets converted to a scratch .sb3 file.

Topics

Resources

License

Stars

Watchers

Forks

Languages