Releases: AvirukBasak/esoteric-assembly
Releases · AvirukBasak/esoteric-assembly
Version 2022.5.14
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, execute theexe
inbuilds
fromCMD
or compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Salient features:
Compatibility
- Interpreter supports
\r\n
and\r
new line feeds, i.e. it supportsasm
scripts edited by programs like Notepad.
Safety
- Custom built funtions (
scanStr()
ininput.c
) to provide maximum safety while reading inputs. - Ditched
scanf()
completely. - Interpreter is safe from
segmentation faults
(mostly). - Interpreter will halt at
EOF
. CTRL + D
kills interpreter without errors.
Error reporting
- There is
Can't divide by zero
safety. - Error and warning messages are colored.
- Error reported line numbers are completely reliable.
- If tokens of
asm
script exceed64 characters
, error will be reported.
Coding
- Intuitive mnemonics (keywords).
- Extended help option (
--help
). - Traditional coding style.
- Supports conventional funtion and recursion rules.
- Debugging tools for both
asm
scripter and developer (--labels
and--dev
). - Console mode (colored) for quick codes. CLI option
--console
or-c
.
Changes:
- Changes to installer script.
- Changed name of author in code.
Version 2021.4.20
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, execute theexe
inbuilds
fromCMD
or compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Changes:
- Minor fix regarding
\r\n
i.e. Windows CRLF line feeds. CRLF is automatically converted to LF in Windows. As a fix, the textfile is read in binary mode to read raw data directly.
Version 2021.3.30
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, execute theexe
inbuilds
fromCMD
or compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Changes:
- Added single line comments using
#
. - Adding
#!/path/to/asm/executable
to the top ofasm
script allows it to be executed directly from your unix shell. - See merge #15.
Version 2021.3.15
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, execute theexe
inbuilds
fromCMD
or compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Changes:
- Disabled colored output in windows machines.
CMD
doesn't supportANSII
color sequences. - See merge #14 for details.
Version 2021.3.14
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, execute theexe
inbuilds
or compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Changes:
Version 2021.3.10.4
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.
Changes:
- Added new console mode, i.e. a console based code prompt.
- Fixed bugs regarding console mode.
- Improved error reporting, quit on error.
- Added wrapper functions for
malloc()
,calloc()
andrealloc()
. Properly used these functions. - Added
unEscape()
to replace delimiting characters with escape equivalents for inline printing. - Fixed an issue where unusable memory would persist due to
unEscape()
. Fixed this by returning adangling pointer
fromunEscape()
. - Fixed aesthetics bugs regarding console prompts.
CTRL + D
now kills interpreter.- See meges #10 , #9, #8, #7, #4, #3, #2 and #1 for more details.
Version 2021.2.28
How to install?
- Download the source from
assets
. - Run
install.sh
as root onLinux
or compile manually. - The same should be applicable to
macOS
as well. - On
Windows
, compilesrc/main.c
manually. Termux
users do not require root to runinstall.sh
.- In case of
Termux
,install.sh
asks forclang
andtermux-elf-cleaner
. So it is recomended to use thedeb
package instead.