CrateAssembly
v0.2.0
Warning
CrateAssembly v0.2.0 and it's oldest versions will be DEPRECATED as it will be recoded to add new functionalities like:
Function
For/While loops
If Conditioonals
v0.2.0 will still have support until the new version is out.
What is CrateAssembly?
CrateAssembly is an Assembly-like programming language that is designed to be easy to learn and use. It's particularly notable for being supported by a library system that allows the inclusion of different libraries to extend its capabilities. CrateAssembly is implemented using Python 3, making it accessible and modifiable for those who are familiar with Python. It's a language that offers a simpler approach to low-level programming, with an emphasis on the inclusion feature to manage libraries.
Key Features of CrateAssembly:
Library Support: It allows the use of libraries to enhance the functionality
Assembly-like Syntax: The syntax is inspired by Assembly language, known for its close-to-the-metal programming style.
Ease of Learning: Designed with simplicity in mind, it aims to provide a gentle learning curve for new programmers.
Coded in Python3: The underlying implementation is based in Python3, offering the robustness and flexibility of Python.
Crucial Include Function: It includes a primary "include" function, which is essential for accessing various libraries within the language.
By integrating the power of Assembly with the versatility of libraries and a Pythonic implementation, CrateAssembly is a unique tool for those looking to delve into low-level coding without the steep learning curve often associated with such endeavors.
The include
Function in CrateAssembly
The include
function in CrateAssembly is a critical feature that allows programmers to import libraries into their programs. By simply specifying the name of the library, CrateAssembly takes care of the rest, ensuring the functions within the library become available for use. This eliminates the need to reference functions with their library name, streamlining the programming process.
Here’s the general syntax for using the include
function:
The library_name
is the name of the library you wish to import. Once included, you can call any function from the library directly.
Example usage of the include
function:
By including 'stdf', all standard functions become readily accessible in your program. This feature is what makes CrateAssembly notably convenient for managing multiple libraries.
Comments
Comments
In CrateAssembly, comments are denoted by a semicolon ;
. Anything following the semicolon on the same line will be considered part of the comment and thus will not be executed as part of the program. Comments are essential for documentation, explaining code, and making notes for yourself and fellow programmers. Here's how you add a comment in CrateAssembly:
This convention allows developers to include annotations or disable code snippets during debugging without removing code.
Last updated