New programming horizons and powerful tools

AsmX (Engine AsmX)

AsmX (Engine AsmX)

Online resources

  • Updates. AsmX, like all languages, is constantly evolving. The AsmX programming language itself can be viewed here

  • Extension for highlighting AsmX code extension (VS code)

  • AsmX documentation site website

Introduction

AsmX is a cross-platform programming language with full Turing support. It has a unique syntax where instructions start with a dog character. It’s funny how it came about, but that’s another story.

AsmX offers a number of features, such as coroutines, that can be easily manipulated.

It also supports primitive data types, including arrays and objects. AsmX also provides a new expr format for performing mathematical expressions and returning the result. It also has the functionality to compile to native application format (APP), which we’ll talk about later. AsmX also offers new types of data structures and conditional statements for easy work.

Coroutine, expr format
coroutine

coroutine

expr format

expr format

AsmX Tools

  1. CIDE (Console IDE) It has a minimal user friendly IDE, with hotkeys. What could be better?

  2. NeuralAI is a mini AI that allows a developer to help solve a problem. This AI appears in case of an error, as a result of which it will tell you what you wanted to write, or what is better to do.

  3. Security Tools is a tool that allows you to prevent vandalism with your device. It does not guarantee a 100% complete agreement for secure software that was written in AsmX.

  4. Server Log is a server log that makes the logs more readable. It has several types of tags, fixing the type of log, for example, warning, notification.

  5. Micro is a separate programming language for building/compiling AsmX programs. The file extension is .micro . It can be used when you want to use several commands to interact with AsmX.

Neural AI

Neural AI

CLI

AsmX has a number of different CLIs that are targeted to suit their needs and purposes.

  1. AsmX CLI – the most important CLI, allows you to compile / build AsmX programs, install the Engine (We’ll talk about this later). He also has other works.

  2. CIDE CLI – has a guide to its use, including hotkeys. Note that calling hotkeys in CIDE in VS Code PowerShell/bash can be like VS Code calls, which means the hotkeys can be given to another application when you call them.

AsmX OS

AsmX includes a mini operating system called AsmX OS. It should be noted that this OS is not complete and is intended for specific tasks.

AsmX OS
AsmX OS (NeoUI Theme)

AsmX OS (NeoUI Theme)

AsmX OS provides powerful tools for working with the AsmX programming language. Within the AsmX CLI, the user has the ability to change Command Line Interface (CLI) themes, as well as switch between different CLIs. It includes a number of features, including the creation of directories and files. This operating system is designed for a convenient and efficient development process, which allows you to avoid constantly calling the terminal when the process ends.

To switch to AsmX OS, we need to register the os command in AsmX CLI.

node kernel asmx-cli os AsmXOS

Why is this OS called AsmXOS and not, for example, TaskOS? This name was chosen because it successfully performs most of the tasks associated with the AsmX programming language, and is directly related to it, without affecting other programming languages.

AsmX Engine

The AsmX Engine improves the interaction with AsmX by providing more convenient features. It can be used to create custom instructions, change register values, and call regular functions.

AsmX Engine
example of using AsmX Engine

example of using AsmX Engine

an example of using custom instructions made using the AsmX Engine

an example of using custom instructions made using the AsmX Engine

The Engine makes it possible to extend the functionality of AsmX and improve its capabilities.

App (.app) compilation

AsmX provides full compilation into App applications. However, it is worth noting that this standard is closed. To compile code from AsmX to App format, the following points should be considered:

  1. If you want to use a different version than v1, use the “@” character before specifying the version.

  2. If you don’t explicitly specify a version for App v1, it will be called by default.

  3. App v2 has an advantage over v1 in that it allows all instructions (except for user instructions) to be compiled. However, it does not support compilation of structures and branches. Therefore, it is recommended to use v2.

  4. To run the compiled file, you can use a decompiler that displays information about the App.

  5. If you try to run a compiled App v1 file on v2, the stub that was loaded into the file will work. The result will be the output of this stub to the terminal or console. Therefore, to be sure that you are running the correct version of the compiler, it is recommended to use a decompiler. This is especially important if you don’t know which compiler version the App.

  6. It is normal that the size of the compiled file may differ from the original.

Compilation:

node kernel asmx-cli build app@v2 ./file ./out?

Running the compiled file:

node kernel asmx-cli run app@v2 ./file

Decompilation, displays information about the App file.

node kernel asmx-cli decompile app ./file

Benefits of using AsmX

AsmX has a number of advantages over other programming languages.

AsmX vs C:

  1. is of type bool, the C99 standard doesn’t count with define.

AsmX before other assemblers (TASM/FASM/NASM/MASM):

  1. has several types of structures.

  2. import of files, libraries can be done at the beginning of the file.

  3. it is possible to write in VS Code (FASM has its own IDE FASMW).

  4. has typing.

AsmX vs other programming languages ​​that do not have such features:

  1. has function overloading.

  2. has the ability to inherit multiple classes.

  3. has its own data structure collection which allows you to store values ​​immediately, not to be confused with struct.

AsmX vs C++:

  1. has an embedded json namespace.

  2. has a full-fledged work with coroutines.

Practical examples of using AsmX

With AsmX, you can develop a Postman equivalent, being able to send HTTP requests and receive responses. You can also create your own Telegram bot using the AsmX functionality.

In addition, AsmX can be used to write console games or visualize data. You can implement a graphical user interface (GUI) for desktop applications with the AsmX Engine using user instructions.

The possibilities of AsmX are not limited to the listed examples – your imagination is the only limit!

Conclusion

For more features details, AsmX news can be found in Telegram.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *