# nnatural-compiler

> Compiler for nNatural source files. nNatural, stands for near natural. It is a computer language aiming to resemble as much as possible English - a natural language. The compiler compiles nNatural source files to javascript nodejs modules

Latest version **0.1.4** (published 2017-04-18) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install nnatural-compiler
pnpm add nnatural-compiler
yarn add nnatural-compiler
bun add nnatural-compiler
```

Provides the command `nnt`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2017-04-18 |
| First published | 2015-02-17 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Elchanan Shor |
| Maintainers | nnatural |
| Keywords | nnatural, compiler |

## Links

- npm: https://www.npmjs.com/package/nnatural-compiler
- Repository: https://github.com/nnatural/nnatural-compiler
- Homepage: https://github.com/nnatural/nnatural
- Issues: https://github.com/nnatural/nnatural-compiler/issues
- npm.io page: https://npm.io/package/nnatural-compiler

## Dependencies (4)

- [xhr2](https://npm.io/package/xhr2.md) ^0.1.2
- [resolve](https://npm.io/package/resolve.md) ^1.1.6
- [nnatural](https://npm.io/package/nnatural.md) ^0.1.0
- [underscore](https://npm.io/package/underscore.md) ^1.7.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2017-04-18
- 0.1.3 — 2015-04-15
- 0.1.2 — 2015-04-15
- 0.1.1 — 2015-02-17

## README

#nNatural Compiler
A compiler for the nNatural programming language, generating javascript node.js style modules.

## About nNatural
nNatural is a new computer language aiming to resemble as much as possible natural language such as English. Its resemblance to natural language makes it easier to understand, maintain and collaborate with, than existing computer languages. nNatural is *near* natural language and not natural language - it is a computer language with clear syntax and form that needs to be learned.

Read more about it at [http://github.com/nnatural/nnatural/readme.md]

## Writing nNatural programs
1. Install nNatural compiler
```
npm install -g nnatural-compiler
```

2. Install required javascript modules in nnatural source folder
```
npm insatll nnatural
```

3. Write the nNatural code using any text editor

4. Compile the code
```
nnt [my-nnatural-module]
```
5. Execute it
```
node [my-nnatural-module]
```

That's it. You're done.

## Next Steps
- Get a feel for nNatural code with a  [["learn nNatural in Y minutes" | examples/learn nnatural in Y minutes.nnt]] guide
- [[View nNatural language documentation | Language Topics]]
- Try out the [examples]
- [Send us your thoughts at nnaturallang@gmail.com](mailto:nnaturallang@gmail.com)
- Follow us on twitter - @nnaturallang

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