# jul-compiler

> Compiler cli for JUL

Latest version **0.0.11** (published 2024-07-15) · ISC license · 0 weekly downloads

## Install

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

Provides the command `jul`.

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2024-07-15 |
| First published | 2023-09-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Julian Xander |
| Maintainers | julianxander |
| Keywords | jul, compiler, language |

## Links

- npm: https://www.npmjs.com/package/jul-compiler
- Repository: https://github.com/JulianXander/jul-compiler
- Homepage: https://github.com/JulianXander/jul-compiler#readme
- Issues: https://github.com/JulianXander/jul-compiler/issues
- npm.io page: https://npm.io/package/jul-compiler

## Dependencies (5)

- [ajv](https://npm.io/package/ajv.md) ^6.12.6
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [webpack](https://npm.io/package/webpack.md) ^5.90.1
- [typescript](https://npm.io/package/typescript.md) ^5.3.3
- [webpack-shebang-plugin](https://npm.io/package/webpack-shebang-plugin.md) ^1.1.8

## 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.0.11 (latest) — 2024-07-15
- 0.0.10 — 2024-05-10
- 0.0.9 — 2024-02-26
- 0.0.8 — 2023-10-16
- 0.0.7 — 2023-10-15
- 0.0.5 — 2023-10-12
- 0.0.3 — 2023-09-24
- 0.0.2 — 2023-09-24
- 0.0.1 — 2023-09-13
- 0.0.0 — 2023-09-13

## README

## Setup
Node installieren: https://nodejs.org  
`npm i npm -g`  
`npm i` (in den Projekten jul-compiler, jul-language-server, vscode-jul-language-service)  
`npm i copyfiles -g`  
`npm i rimraf -g`  
`npm i @vscode/vsce -g`  
? `npm link` (in jul-compiler)

Damit vsce ausgeführt werden kann:  
Admin PowerShell öffnen  
`Set-ExecutionPolicy -ExecutionPolicy Unrestricted`

## Build
`npm run build-all`  
Baut jul-compiler, jul-language-server und vscode-jul-language-server
1. jul-compiler: `npx tsc && copyfiles --flat src/core-lib.jul out`
2. jul-language-server: `npx tsc --project ../jul-language-server/tsconfig.json`
3. vscode-jul-language-service: 
    1. delete:	`rimraf ../vscode-jul-language-service/out/jul-language-server`
    2. copy:	`copyfiles -a ../jul-language-server ../vscode-jul-language-service/out --exclude .git`
    3. build:   `npx tsc`

## Cli installieren
`npm i -g`

## Cli ausführen
`jul ../jul-examples/test1.jul`  
`node out/cli.js ../jul-examples/test1.jul`

## Test
einzelnen Test ausführen (pattern sucht nach it(...))  
`npx mocha 'test-setup.mjs' 'test/**/*.test.js' -g pattern`

## Publish
`npm run build`  
`npm version patch` (oder minor/major)  
commit  
`npm publish`

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