PicoBlaze_Simulator_in_JS
ArithmeticExpressionCompiler
Our great sponsors
PicoBlaze_Simulator_in_JS | ArithmeticExpressionCompiler | |
---|---|---|
7 | 8 | |
22 | 1 | |
- | - | |
9.0 | 0.8 | |
6 days ago | almost 3 years ago | |
JavaScript | Rich Text Format | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PicoBlaze_Simulator_in_JS
-
What do the cores of good assemblers (the things that come after tokenizing, parsing, and preprocessing, the thing which actually convert mnemonics to opcodes) look like? Are they just a bunch of hard-to-follow if-branchings, or do they somehow use polymorphism to avoid that?
For my Bachelor thesis, I made a PicoBlaze Assembler and Emulator in JavaScript. I've discussed it on many Internet forums, and quite a few people have complained that the core of my assembler is hard-to-follow due to lots of if-branchings. So, what is the other way of making the core of the assembler?
- Mislite li da okolina ima potpuno pogrešno mišljenje o ljudima koji rade u IT-u?
- koliko vam je bilo tesko nac posao u programiranju?
-
Learn Vanilla JS before React, CSS before Tailwind?
Well, I've never used any CSS framework. And my largest HTML5 project, a 3'500-lines-long PicoBlaze Simulator, uses no JavaScript framework either. The only JavaScript framework I've ever used is JQuery, which I used for my 2'000-lines-of-code flashcard game. I haven't yet managed to get an entry-level job, though, so maybe it's not a good idea to take advice from me.
-
Does C++ give you superpowers?
By the way, what do you think about my other project, PicoBlaze Simulator?
-
How to be able to contribute to languages/compilers?
My first assembler+simulator is 3'000 lines of code.
ArithmeticExpressionCompiler
-
Package management and distribution of your language
Well, for my AEC-to-x86 compiler, I provide a ZIP file with the source code (together with the MIT-licenced Duktape, which is necessary for my compiler to work, as the core of it is written in JavaScript, and also the source code of example programs), which I recommend to download. I also provide, for people who are willing to risk getting malware from my computer, a ZIP file containing the compiler executables for various OS-es as well as sources and executables of the example programs (but not the source code of Duktape and the part of my compiler written in C programming language).
-
Gas on windows?
I have made some GAS executable files to be executed on Windows, you can download them here (the EXE files are for Windows): https://github.com/FlatAssembler/ArithmeticExpressionCompiler/raw/master/recursive_HybridSort/RecursiveHybridSortExecutables.zip
-
Any safe alternative to the eval() function?
Maybe the way I have done that in my web-app, by tokenizing, parsing and then interpreting the string: https://flatassembler.github.io/compiler.html
-
This has been asked hundreds of times but...
A thing I have done with my knowledge of assembly language is that I have made a compiler for my programming language that targets x86: https://flatassembler.github.io/compiler.html
-
Any great tutorials for Windows 8086 Assembly Language?
And who cares about 8086? Probably not a single modern device has it. The earliest computer I had, running Windows 98, had Intel Celeron processor, which is, from the perspective of an assembly-language programmer, the same as i686 (Intel Pentium Pro). The assembly code that the compiler for my programming language produces will run on all computers you care about, and many so old you do not care: https://flatassembler.github.io/compiler.html
-
What flavour of Assembly do you/ have you commonly used? (Work, personal, etc.)
I have used FlatAssembler and GNU Assembler. Those are assemblers that the compiler for my programming language uses to target x86: https://flatassembler.github.io/compiler.html I also have a bit of experience with Microsoft Macro Assembler.
-
SolarWinds: The more we learn, the worse it looks
Antivirus software, for some reason, failed to detect the malware. I don't fully understand why. They misdetect a ton of innocent programs as malware (system files necessary for booting, BoringSSL, Motorola's Bluetooth drivers, the compiler for my programming language...), so it is instinctual to think they will detect an actual malware, but apparently that is not what happens.
- The assembly code the compiler for my programming language produces crashes on HaikuOS, even though it works on Linux and FreeBSD. I cannot figure out why.
What are some alternatives?
GlovePIE - The original creator stopped maintaining it and the original site went down. I have uploaded my copy so people can continue using it.
latino - Lenguaje de programación de código abierto para latinos y de habla hispana.
compiler - an incomplete toy barebones compiler backend for amd64 x86_64 in Python and an incomplete JIT compiler written in C
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
raylib - A simple and easy-to-use library to enjoy videogames programming
ckeditor5 - Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
rust - Empowering everyone to build reliable and efficient software.
AECforWebAssembly - A port of ArithmeticExpressionCompiler from x86 to WebAssembly, so that the programs written in the language can run in a browser. The compiler has been rewritten from JavaScript into C++.