Skip to content

Xila-Project/Berry_Software_Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍓 Xila berry software

This repository is a template for Xila berry software.

📖 Table of contents

📥 Installation

  1. Create a new repository from this template.

  2. Clone (recursively) your new repository : git clone --recursive <URL>

  3. Install Berry interpreter / compiler on your computer :

    • Linux (Debian) :
      • sudo apt install libreadline-dev
      • cd Berry
      • make
      • make install
    • Windows :
      • cd Berry
      • make
    • MacOS :
      • brew install readline
      • cd Berry
      • make
      • make install

Official installation steps can be found here.

⌨️ Use

  • You can compile your software using the following command : berry -c Main.be (or ./Berry/berry -c Main.berry on Windows).

  • Once you have written your software, you can copy the folder to your Xila installation, in the /Software/ folder. You can also rename the folder since it is used as the software name.

Please note that Berry compiler is currently only used for checking the syntax of the software, since it's hard to debug a software on Xila. The compiled bytecode is not necessary (but not useless / disturbing) since Xila can compile the software itself.

📂 Structure

  • Code : Contains the source code of the software.
  • Berry : Contains the sources of berry interpreter.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages