# devlang-cli

> A simple parser for a simple language

Latest version **1.1.93** (published 2022-11-04) · 0 weekly downloads

## Install

```sh
npm install devlang-cli
pnpm add devlang-cli
yarn add devlang-cli
bun add devlang-cli
```

Provides the command `devlang-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.93 |
| Published | 2022-11-04 |
| First published | 2022-10-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 109.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mitra98 |

## Links

- npm: https://www.npmjs.com/package/devlang-cli
- npm.io page: https://npm.io/package/devlang-cli

## Dependencies (5)

- [path](https://npm.io/package/path.md) ^0.12.7
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [clear](https://npm.io/package/clear.md) ^0.1.0
- [figlet](https://npm.io/package/figlet.md) ^1.5.2
- [commander](https://npm.io/package/commander.md) ^9.4.1

## Recent versions

- 1.1.93 (latest) — 2022-11-04
- 1.1.92 — 2022-11-04
- 1.1.91 — 2022-11-04
- 1.1.9 — 2022-11-04
- 1.1.8 — 2022-11-04
- 1.1.7 — 2022-11-04
- 1.1.6 — 2022-11-03
- 1.1.5 — 2022-11-03
- 1.1.4 — 2022-10-26
- 1.1.3 — 2022-10-26
- 1.1.2 — 2022-10-26
- 1.1.1 — 2022-10-26
- 1.1.0 — 2022-10-25
- 1.0.0 — 2022-10-22

## README

# DevLang



## Syntax

### Variable Declaration

```
let id = exp;
```

### if-then-else

```
if(condition){
  // code if condition is true
}
else{
  // code if condition is false
}
```

### while, do-while, for

```
while(condition){
  // code while condition is true
}

do{
  // code while condition is true
  // code will be executed at lest one time
}while(condition);

for(init; condition; update){
  // code while condition is true
}
```

### Function Declaration and Function Call

```
// declaration
fun id(params...){
  // code...
}

// call
id(actual params...);
```

### System Calls

```
run("command");
```

### Specials

```
print(exp);
```

---
_Source: https://npm.io/package/devlang-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
