From e35a1effd6a0987e875247d4280807b468308353 Mon Sep 17 00:00:00 2001 From: Artemy Date: Tue, 16 Aug 2022 20:53:43 +0300 Subject: [PATCH] doc: add link to vscode extension and rename .json5 files to .onla --- README.md | 1 + examples/{example.json5 => example.onla} | 2 -- examples/{factorial.json5 => factorial.onla} | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) rename examples/{example.json5 => example.onla} (98%) rename examples/{factorial.json5 => factorial.onla} (98%) diff --git a/README.md b/README.md index a34f236..3f2bb9c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ # You may have questions ONLang - Object Notation Language (js`ON`) +VSCode extension - [OnLang](https://marketplace.visualstudio.com/items?itemName=artegoser.onlang) ## 1. God, what the f\*\*\*\* is this diff --git a/examples/example.json5 b/examples/example.onla similarity index 98% rename from examples/example.json5 rename to examples/example.onla index d2f3783..3426435 100644 --- a/examples/example.json5 +++ b/examples/example.onla @@ -1,5 +1,3 @@ -// Now the file with the extension .json5, but then it will be .onla - [ { print: [ diff --git a/examples/factorial.json5 b/examples/factorial.onla similarity index 98% rename from examples/factorial.json5 rename to examples/factorial.onla index 8f57383..a626bd0 100644 --- a/examples/factorial.json5 +++ b/examples/factorial.onla @@ -74,4 +74,5 @@ // "21! == 51 090 942 171 709 440 000: ", // { _eq: [{ fact: [21] }, 51090942171709440000] }, // ], some json and yaml troubles with number `51090942171709440000` + { calc: ["operand", "+", "operand"] } ]