Skip to content
GavinGoGaming edited this page Feb 14, 2023 · 5 revisions

Getting Started

Replit

Fork the plumcode template on Replit to get started. See the Replit Development Page to learn more. Keep or change the META tag at the top, do not remove it.

Desktop

To get started with plumcode, download the plumcode installer from releases and install it. Make sure to add plumcode to the path.
Then, make a file ending with .plum and add your meta tag on the first line. The META tag is required. It can either be META DEVELOPMENT; or META PRODUCTION;.

Plumet

~~ If you are using the Plumet Importing API, check out the klashdevelopment/plumet repository and download from releases. ~~
As of now, the Plumet Importing API is not active yet. Modules and 'RUN' keywords are to be implemented in the base plumcode install as of recently. Plumet is now to be used only for libraries (like Maven, Gradle, PIP, or npm but for Plumcode!)

Syntax & Keywords

image

Plumcode has many different keywords and very different syntax than average coding languages.
All lines should end with a semicolon;.
To make a comment, simply add >> at the beginning of a line or after a semicolon;
This list will be formed like this: KEYWORD <OptionName: Type>
A keywordable means you can use *variables*, (Numbers), "Strings", and KeywordableStrings.
A keywordable-string means you can use "Regular Text", "Text with $(Numbers)", and "Text with $(variables)".
A nostr is text that has no spaces and no quotation marks.

  • **PRINT** <Content: Keywordable>
  • **RUN** <Filename: Keywordable>
  • **VAR** <Name: Nostr> <Content: Keywordable>
  • **SET** <ConfigOption: Nostr>=<Value: Keywordable>
  • **GUI** <Title: Keywordable> <HTMLContent: Keywordable>
  • **INPUT** <VarName: Nostr> <Prefix: Keywordable>
  • **USE** <Filename: Keywordable>
  • **META** <Mode: PRODUCTION or DEVELOPMENT>
Clone this wiki locally