Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

theloaflanguage

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theloaflanguage

The Official Programming Language For Bread.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

TheLoafLanguage

An awesome language, made for the bread. (using javascript)

Here's the syntax:

bake main () {
    ^^ a string non-mutable variable
    bagel hello = "bread";

    ^^ a mutable variable
    bread hey = "there";`

    ^^ a non-mutable boolean variable
    burger nice = true;

    ^^ a mutable boolean variable
    pizza notTasty = false;

    ^^ a non-mutable integer/float variable
    cookie integer = 123;

    ^^ a mutable integer/float variable
    donut float = 123.5;

    ^^ print something to the console

    ^^ to use variables use back ticks
    ^^ for example:
    sprinkle(`float`);

    ^^ to print something without using variables, use double quotes
    ^^ for example:
    breadcast("hello, bread");

    ^^ add two numbers (supports only two for now.)
    breadition(1, 2);

    ^^ subtract two numbers (supports only two for now.)
    breadtraction(2, 1);

    ^^ multiply 2 numbers
    breadplication(1, 2);

    ^^ divide 2 numbers
    breadivision(2, 1)
};

Keywords

FAQs

Package last updated on 27 Oct 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc