jpp

所属分类:Node.js
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-08-22 23:44:44
上 传 者sh-1993
说明:  用NodeJS.编写的ODromo(或JavaScript++)编译编程脚本语言。,
(The ODromo (or JavaScript++) compiled programming scripting language written in NodeJS.,)

文件列表:
LICENSE (1061, 2023-08-22)
addons/ (0, 2023-08-22)
addons/mathjs.o (695003, 2023-08-22)
cli.js (5044, 2023-08-22)
close.jpp (16, 2023-08-22)
extension/ (0, 2023-08-22)
extension/array.js (1724, 2023-08-22)
extension/defined.js (108, 2023-08-22)
extension/dom.js (268, 2023-08-22)
extension/exceptions.js (400, 2023-08-22)
extension/ext/ (0, 2023-08-22)
extension/ext/jsprompt/ (0, 2023-08-22)
extension/ext/jsprompt/index.js (46, 2023-08-22)
extension/ext/jsprompt/index.test.js (294, 2023-08-22)
extension/ext/jsprompt/lib/ (0, 2023-08-22)
extension/ext/jsprompt/lib/prompt.js (2242, 2023-08-22)
extension/ext/jsprompt/package.json (645, 2023-08-22)
extension/extension.js (586, 2023-08-22)
extension/input.js (163, 2023-08-22)
extension/node.js (155, 2023-08-22)
extension/strings.js (2236, 2023-08-22)
extension/test/ (0, 2023-08-22)
extension/test/index.html (46, 2023-08-22)
extension/test/index.js (75, 2023-08-22)
extension/test/package.json (260, 2023-08-22)
extension/workspace.js (190, 2023-08-22)
hello.o (190, 2023-08-22)
odromo.js (50965, 2023-08-22)
package-lock.json (150545, 2023-08-22)
package.json (385, 2023-08-22)
script.o (466, 2023-08-22)

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![Linkedin][linkedin-shield]][linkedin-url] [![Discord][discord-shield]][discord-url] # ODromo  ―  A JavaScript dialect.

ODromo  •  JavaScript++

ODromo is a weakly typed Programming language written in NodeJS itself in 2022.
Explore the docs

View Demo · Report Bug · Request Feature

### More changes coming soon... # CODE EXAMPLE FOR ODROMO: ```js // Hello World: require sys; void Main(argv=[]) { Console.WriteLine("Hello, World!") } // Anonymous function // the lambda keyword is the equivalent of "()=>" in JavaScript... (lambda Console.WriteLine("Hello JPP!"))(); // The ["require", "load"] statements do the same thing... which is to load native JPP modules from the interpreter; // if the argument is a string, load the string, and if it contains a comma, load all modules separated... // else if it's a variable "in code terms..." load it normally. // "load sys" equals "require sys", same statement require sys; require "sys"; require "sys, fs, controls"; // The void keyword is used as a function keyword in ODromo... void sayHello(name) { return Console.WriteLine("Hello " + name + "!"); } // There are some predefined voids and functions... let obj = {x: 0, foo: "bar"} Console.WriteLine(x); // ReferenceError: x is not defiend. extract(obj); Console.WriteLine(x); // 0 // EX2: if (!defined("someVar")) Console.WriteLine("someVar is not defined!") // MATH SYNTAX IN ODROMO... load math; Console.WriteLine( 1pi ); // Works! and returns: # 3.14... ^^ // 1pi => 1 * Math.PI // expo(X) => Math.exp(X) // 180.54deg => 180.54 * Math.PI / 180 // 1rad => ...... // Getting input from user with sys::Console::ReadLine : Console.ReadLine("prompt? "); // THIS IS SYNCRONOUS // Sleeping: sleep(ms); // THIS IS SYNCRONOUS TOO! NO MORE AWAIT STATEMENTS... exit(0); // BYE!! ```

Licence (MIT)

*Copyright (c) 2022 LifeJS (https://www.github.com/rhpo/ODromo) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. ```THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.```

Contact:

• Email  ―  lifejs@ramey.ml

• Phone Number  ―  +213 553 23 84 10

• Discord  ―  (ODromo ― Gaming in JavaScript)


About the author:

    • Name  ―  Ramy Hadid.

    • Age  ―  17 Years old.

    • Nationality  ―  Algeria.

    • Linkedin  ―  (Ramy Hadid)

    • Instagram  ―  @ramyhadid

    • Discord  ―  ramy#1539

    • GitHub  ―  @rhpo

    • Email  ―  me@ramey.ml

    • Programming Languages  ―  C# • Ruby • NodeJS • Julia.


> Written by @rhpo with . [contributors-shield]: https://img.shields.io/github/contributors/rhpo/ODromo?style=for-the-badge [contributors-url]: https://github.com/rhpo/ODromo/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/rhpo/ODromo?style=for-the-badge [forks-url]: https://github.com/rhpo/ODromo/network/members [stars-shield]: https://img.shields.io/github/stars/rhpo/ODromo?style=for-the-badge [stars-url]: https://github.com/rhpo/ODromo/stargazers [issues-shield]: https://img.shields.io/github/issues/rhpo/ODromo?style=for-the-badge [issues-url]: https://github.com/rhpo/ODromo/issues [license-shield]: https://img.shields.io/github/license/rhpo/ODromo?style=for-the-badge [license-url]: https://github.com/rhpo/ODromo/blob/master/LICENSE [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [discord-shield]: https://img.shields.io/discord/1006994262174478377?color=7289da&label=Discord&logo=discord&logoColor=white&style=for-the-badge [discord-url]: https://discord.gg/XXa7PpnMbq [linkedin-url]: https://www.linkedin.com/in/ramy-hadid-15aa70243/

近期下载者

相关文件


收藏者