jmc icon indicating copy to clipboard operation
jmc copied to clipboard

A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack

Results 28 jmc issues
Sort by recently updated
recently updated
newest added

## Describe the bug ![image](https://github.com/WingedSeal/jmc/assets/123622161/409e9d45-e61c-4740-b6ac-e7c1deb3d7bc) the above code results in the following error ![image](https://github.com/WingedSeal/jmc/assets/123622161/55a43765-70a8-471c-be7e-c2d3b2e44fcd) ## To Reproduce try to make an `else if` statement with macros ## Expected behavior for...

Type: Bug

``` │ main.hjmc │ main.jmc │ └───folder_name └───a_path file_name.mcfunction ``` ```c #import folder_name ``` should create `namespace:a_path/file_name` function

Type: Feature request

```js $a = ($b + $c) - 5 ```

Type: Feature request

``` "a b c \ d e f" ``` V ``` "a b c d e f" ```

Type: Feature request

This can be done by either importing it at compile time or transpiling it to JMC with command line tool

Type: Feature request

## Describe the bug unable to use macro in a line with variable operation of some sort. i get following error: ```JMCSyntaxException In src/code/arthealth/entity.jmc:67:5 Unexpected double variable sign at line...

Type: Bug

## Description Breaking long equations over multiple lines would be nice.

Type: Feature request

Copy the `with ...` to every `function ...`generated by built-in func

Type: Feature request

```js function helloWorld(string) { $say "$(string)"; } helloWorld("hi"); ```

Type: Feature request
Priority: Low