Skip to content

Package System

S Pradosh edited this page Sep 4, 2022 · 1 revision

Citrullus Packages

The Package System called as Citrullus package, which will help you create, load, fetch packages. the packages extension is .cp stands for citrullus package

Loading a package

Let's say your friend made a package and send it to you to try it out, how do you load it? put your friend's package on your Melon Language Directory let's think the name of the package is TestPkg.cp then type load-pkg press enter then type the name TestPkg and it will run

Fetching a package

Let's say that your friend submit-ed a package called as MelonTestPkg.cp then just type fetch-pkg and the package name and it will download it, then type load-pkg press enter then type the name

Creating a package

after coding your script in main.mlf, you can create a package, type gen-pkg then the info after that it will be created as YourFileName.cp in your Melon Language Directory, you can explore it in WinRAR or 7zip you can find your details in pkg-info.txt (that file will be included in your package too). If your using more than one file like main.mlf and sub-main.mlf you can open it in WinRAR and add it

Publishing the package

you can create a pull request in https://github.com/pradosh-arduino/Citrullus-Packages

πŸ‰ Melon Language Wiki

πŸ˜‰ Simple, πŸ’Ύ Low Level, πŸ‘¨β€πŸ’» PPL


Requirements

[External] Git

[External] C# Runtime

Architecture and OS that Melon Supports

Coding & Learning

Getting Into the coding

Variables

Advanced Calculations

Casting and Incrementing

Timers

Compilation

Loops and Goto

Functions

Conditions

File System

User Input

Importing Files and Library

Graphics

Package System

Configuration

Setup OS X for Melon Language

Setup Melon Language for Windows Terminal

Setup Melon Language for VSCode Terminal

Setup Environment CLI for Melon Language on Windows

Other

Downloads History

✨ WOW! You are at the end! now you are a Melon πŸ‰ programmer! Claim your badge!

Melon

Copy Paste: [![Melon](https://nuag9x4nt640.runkit.sh)](https://github.com/pradosh-arduino/Melon-Language/)

Clone this wiki locally