labiba-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

Labiba Parser

Labiba Arabic Programing Language Parser

For working IDE see our repository: labiba

Labiba Parser generates AST according to babel AST format

Example:

const labiba = require('labiba-parser');
 
let labibaCode =`
//Comment
متغير سامح = 1;
مهمة مثل() {
    ارجاع 'مرحبا';
}
 
مثل()
`
 
let ast = labiba.parse(labibaCode)
 
console.log(ast)

repl.it

https://repl.it/@SamehFakoua/Labiba-Parser-Example

Install

Using npm:

npm install --save-dev labiba-parser

or using yarn:

yarn add labiba-parser --dev

Build

yarn install
gulp build

Package Sidebar

Install

npm i labiba-parser

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

1.3 MB

Total Files

8

Last publish

Collaborators

  • fakoua