Code Monkey home page Code Monkey logo

wsdt / almostbinary Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 29.78 MB

Compiler & Runtime for 'Almost Binary'. Code in platform-independent binary and utilize high-level data structures and state-of-the-art libraries (e.g. quantum computing, blockchain, ..)

License: GNU General Public License v3.0

C# 80.37% Dockerfile 0.32% HTML 18.64% Q# 0.67%
binary blockchain compiler csharp esolang esoteric-programming-language platform-independent programming-language qsharp quantum-computing runtime

almostbinary's Introduction

Software Engineer specialized in Blockchain, DApps, Smart-Contracts.

Offering..

  • Smart-Contract & DApp development -> DeFi, Metaverse, NFT, Utility/Security-Tokens, etc.
  • Product Management
  • Technical Project management (leading developer teams, etc.).
  • Workshops about Blockchain, Docker, Smart-Contracts, DApps, L2s, ...
  • Consultancy & Advisory

..more on https://wavect.io/#services

Some key facts to keep it simple:

  • Blockchain, NFT
  • Programming since the age of 13.
  • Speaking German & English fluently.
  • Led a social-tech startup of 5-7 people.
  • Worked in a blockchain (DID) startup as CMO & software engineer.
  • Economic (commercial school, investing, trading) & sporty/medical background (ambulance man, founded Calisthenics society, ..)
  • Docker, Blockchain & TDD [Test-Driven-Development] advocate.
  • Transparency, honesty & maintainability have hightest priority.
  • Actively investing & trading (stocks, commodities, crypto, ...)
  • Hobby Acrobat, Calisthenics, Bodybuilding ..more about me: https://wavect.io/#about

Links:

almostbinary's People

Contributors

codacy-badger avatar dependabot[bot] avatar wsdt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

almostbinary's Issues

Runtime does not interpret

Cannot interpret any of the compiled files?
Might be just a small bug, but solve BEFORE making greater changes in compiler.

Example: repeat.abin
Problem seems to be the TokenList.Position cursor (wrong set).

This and similar errors (sometimes also related to Call (verify esp.):

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at AlmostBinary_Runtime.Lexer..ctor(String c) in C:\Users\WSDT\Desktop\C#_.NET\KevinRiedl\AlmostBinary\AlmostBinary_Runtime\Lexer.cs:line 45
   at AlmostBinary_Runtime.Runtime..ctor(String c) in C:\Users\WSDT\Desktop\C#_.NET\KevinRiedl\AlmostBinary\AlmostBinary_Runtime\Runtime.cs:line 23
   at AlmostBinary_Runtime.Startup.Run(String[] args) in C:\Users\WSDT\Desktop\C#_.NET\KevinRiedl\AlmostBinary\AlmostBinary_Runtime\Startup.cs:line 42
   at AlmostBinary_Compiler.Program.Main(String[] args) in C:\Users\WSDT\Desktop\C#_.NET\KevinRiedl\AlmostBinary\AlmostBinary_Runtime\Program.cs:line 28

Working compiled file (by original compiler):

�:Main
.repeat0
pushString "hello world"
call PrintLine
goto .repeat0
ret
:Print
print
ret
:PrintLine
printLine
ret
:Read
read
ret
:ReadLine
readLine
ret
:InputString
inputString
ret

Non-working compiled file:

î�.repeat0
pushString "hello world"
call PrintLine
goto .repeat0.repeat0
pushString "hello world"
call PrintLine
goto .repeat0
:Print
print
ret

:PrintLine
printLine
ret

:Read
read
ret

:ReadLine
readLine
ret

:InputString
inputString
ret

varName = InputString() badly parsed

InputString() and varName alone are working.
But in one line the Parsing doesn't work..

Take a look at Parser.cs:ParseAssign():
name = InputString() is parsed as name = InputString --> InputString as value instead of function interpreted.

Possible solution: Add a new ParseFunctionAssign() or modify ParseAssign() to support function assignment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.