Socket
Socket
Sign inDemoInstall

ZamScript

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ZamScript

ZamScript is a language that interprets into Python and then runs Cython on it so it runs faster.


Maintainers
1

Readme

Basic ZamScript syntax

write is a function for displaying text in the console.

{ and } are default brackets for functions and stuff like that.

getall [module] is for importing all functions in a module.

get [module] is for importing the module.

define [function_name]{inputs} are for defining functions.

Since this languages syntax format and modules are all Python based, !pip install [package] installs the package with pip.

if [statement] then is for making an if-then statement.

is = to and is not = to are for making statements about if two things are equal or not.

otherwise if and otherwise then are for else and else if (elif) statements.

// are for comments.

forever is a infinitly repeating loop.

type is for making classes.

sh [command] is for running shell commands.

mod is for taking mods between numbers.

<<< and >>> are brackets for making dictionaries.

repeat [number_of_times_to_repeat] is for repeating that code that many times (without the square brackets).

var variable_name: type is used for predefining variables to make it run faster (not required).

That rest is like Python except for the fact that it supports Cython syntax.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc