# flexlang

> Toy Programming Language

Latest version **0.0.1** (published 2019-04-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install flexlang
pnpm add flexlang
yarn add flexlang
bun add flexlang
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-04-06 |
| First published | 2019-04-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 171 |
| Author | garritfranke@gmail.com |
| Maintainers | garritfra |

## Links

- npm: https://www.npmjs.com/package/flexlang
- Repository: https://github.com/garritfra/flex
- Homepage: https://github.com/garritfra/flex#readme
- Issues: https://github.com/garritfra/flex/issues
- npm.io page: https://npm.io/package/flexlang

## Recent versions

- 0.0.1 (latest) — 2019-04-06

## README

# Flex

The Flex Programming Language

## Sample

```js
let myNumber = 12;

if myNumber >= 16 {
  print "Larger than 16";
} else {
  print "Smaller than 16";
}

fn addTwo num {
  return num + 2;
}

let numbers = [1, 2, 3];

for number in numbers {
	print addTwo number;
}
```

# Syntax

### Variable Declaration

```js
let x = y;
```

A Variable Declaration starts with the identifier "let", followed by its name. The Value is at the last token of the line (TODO: Needs to be improved)

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