مشاركة مميزة
Show HN: PuffinBASIC – A cross-platform modern BASIC interpreter written in Java https://ift.tt/34tjVQM
- Get link
- X
- Other Apps
Show HN: PuffinBASIC – A cross-platform modern BASIC interpreter written in Java GitHub: https://ift.tt/2EumcjJ BASIC (Beginners' All-purpose Symbolic Instruction Code) is a general-purpose high-level language from the 1960s. PuffinBASIC is an implementation of the BASIC language specification. PuffinBASIC conforms most closely to GWBASIC. The purpose of this implementation is to learn how to write interpreters and resurrect an old programming language to work in modern ecosystem. The interpreter is evolving fast and in near future, I wish to apply modern interpreter building techniques to it. How it works? 1. PuffinBASIC's grammar is defined using antlr4. 2. At runtime, the user source code is parsed using antlr4 lexer+parser. 3. After parsing, an intermediate representation (IR) of the source code is generated. A symbol table keeps track of variables, scalars, arrays, etc. objects. 4. A runtime, processes the IR instructions and executes them. Performance PuffinBASIC is an interpreter, and it should not be expected to have very good performance characteristics. Certain operations such as PRINT USING, INPUT, etc. are not optimized for performance. I have not benchmarked PuffinBASIC primitives. That being said, we have written games with graphics in PuffinBASIC is work very well. TESSEL - A 2D Tile Game written in PuffinBASIC Source: https://ift.tt/34yIM5W... Link to YouTube video demo: https://youtu.be/L8xkM-g3Zms Memory PuffinBASIC runs within a JVM and can use as much memory as available for the JVM process. Compatibility PuffinBASIC is mostly compatible with Microsoft's GWBASIC. Graphics is supported using Java 2D graphics. PuffinBASIC will not support assembly instructions. Data Types PuffinBASIC has extended BASIC types and supports Int32, Int4, Float32, Float64, and String. Reference: https://ift.tt/2EumcjJ August 24, 2020 at 10:54PM
- Get link
- X
- Other Apps
Popular posts from this blog
The Cipher's Whisper
Liked on YouTube: الربح من الانترنت 50 دولار يومياً من مشاهدة اليوتيوب والتيك توك
الربح من الانترنت 50 دولار يومياً من مشاهدة اليوتيوب والتيك توك الربح من الانترنت من مشاهدة فيديوهات اليوتيوب والتيك توك ومشاهدة الاعلانات تعد هذة الطريقة من اسهل طرق الربح من الانترنت للمبتدئين . الموقع الذي بالشرح : https://bit.ly/3cN4GmI ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ تابعنا علي : قناتنا الثانيه علي اليوتيوب : http://bit.ly/2prA33b جروبنا علي الفيس بوك : http://bit.ly/2JgyPhQ صفحتنا علي الفيس بوك | https://goo.gl/YmFW1X ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ بعض الدروس من الممكن الأستفاده منها : الربح من CPA للمبتدئين 540 دولار شهريا [موقع يقبل الجميع] مع اثبات الدفع https://youtu.be/piaSrbB7Fm0 الربح من CPA للمبتدئين 540 دولار شهريا [اختيار افضل عرض CPA] https://youtu.be/OVwQrCSo7uI الربح من CPA للمبتدئين 540 دولار شهريا [إنشاء Landing Page مجانا] https://youtu.be/yXHyqDZxyHQ افضل طريقة لترويج عروض CPA للمبتدئين والمحترفين https://youtu.be/67cOvXv9wtU ترويج عروض CPA بطريقة مجانيه استراتيجية ذهبية [اربح 540 دولار شهريا] https://youtu.be/X0v57ots070 ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ Who i am : M...
Launch HN: Datree (YC W20) – Best practices and security policies on each commit https://ift.tt/3cJCp13
Launch HN: Datree (YC W20) – Best practices and security policies on each commit We are Shimon and Eyar, co-founders of Datree ( https://www.datree.io ). We've built software to help engineering teams automate the adoption of development best practices, coding standards, and security policies. When I (Shimon) was the manager of a 400-developer company's infrastructure engineering team, we had an issue where a developer committed AWS secret keys into a public GitHub repo. We were very, very lucky that the bad actors who quickly got ahold of the keys "only" spun up compute instances to mine bitcoin. Mistakes happen and they happen to the best of us. No developer wants to make mistakes, especially ones impacting production. Those mistakes can be not only costly to the business, but emotionally painful for the developer. After finding out about the issue, I had to search for any other leaked secret in our repositories to make sure we were no longer exposed. The next thing...
Comments
Post a Comment