1.3.4 • Published 9 months ago

@munezero/floparser v1.3.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Flogram Compiler and Parser

Flogram is a programming language designed to help AI write less error-prone code.

Installation

To use the Flogram npm package, run the command below:

npm install "@munezero/floparser"

Usage

After you have installed the package, there are a couple of things to do to compile your Flogram code:

Import runner function

Import the runner function from the package like so:

import { runner } from '@munezero/floparser';

Call runner with necessary paramaters

runner takes two arguments, value, the code to be run, and outputElement, which is a HTML element where the draw values will be printed.

const { result, failures} = await runner({ value : value, outputElement: outputElement });

Keep in mind

  • value is a string, the code you are looking forward to executing.
  • outputElement is a necessary valid HTML element if you want to see the ouput on your screen, or else, it will be on the console.
  • The runner will always be looking for the main function to execute your code.
  • The result from runner is the value that might have been returned by the main function after execution.
  • result is an optional value depending on whether our code executed well, or your main function has a return value.
  • failures is an array, it will be empty if there were no issues with your code.

Happy Flogram-ming!

1.3.4

9 months ago

1.3.3

9 months ago

1.3.2

9 months ago

1.3.1

9 months ago

1.3.0

11 months ago

1.2.27

12 months ago

1.2.28

12 months ago

1.2.29

12 months ago

1.2.30

11 months ago

1.2.31

11 months ago

1.2.34

11 months ago

1.2.35

11 months ago

1.2.32

11 months ago

1.2.33

11 months ago

1.2.36

11 months ago

1.2.37

11 months ago

1.2.26

1 year ago

1.2.24

1 year ago

1.2.25

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

2 years ago

1.2.16

2 years ago

1.2.15

2 years ago

1.2.0

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.9

2 years ago

1.2.12

2 years ago

1.2.13

2 years ago

1.2.10

2 years ago

1.2.11

2 years ago

1.2.14

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago