Resource icon

    regEx compilation breadboard 1.3

    Note: not all the regEx uses are actually on the breadboard, but I will add to it frequently until they all are.
    ------------------------------------------------------------------------------------------
    NEW: decimal to binary conversion + binary adder + binary multiplier

    so apparently multiplying in binary is pretty simple starmade-logic wise.
    Too lazy to explain the inner working of the circuit right now, but all you need to know is this:
    There are 3 display modules on the front of the control panel. Put three single digit numbers in them. there's your three digit decimal number.
    Next, push the button on the ground level. This will make everything calculate. I could do it with instant pulses, but that would be more work than using delay blocks :P

    The output looks like this:
    [multiple of 10 to multiply number by] (100, 10, 1)
    [number being multiplied]

    [current value of binary adder]
    [final converted number]

    the converter works up until 999 d0wn to 0 so it shouldn't go out of bounds and cause an error. Please remember that this is the disgusting, super inefficient brain storming build, and it will be updated in the future.
    starmade-screenshot-0046.png


    ---------------------------------------------------------------------------------------
    String Parser:
    Its functioning is described pretty well on the display blocks, just hit a button and it outputs stuff. you can change the three things to parse as long as you dont change the formatting.
    starmade-screenshot-0047.png

    ----------------------------------------------------------------------------------------
    pointer data system. ram, I guess?

    Pretty straight forward and easy, after some research and brainstorming this is all I've done so far. need to add a way for new variables to be added dynamically, and also further down the line I need a way for a central module to control data flow to all the secondary ones, with a function name at the beginning of the data string, like this:
    ;calc;calcType;var2;var3;
    that sends the three variables to the module that answers to ;calc;
    the calcType variable could be any symbol normally used to claculate two numbers.
    Author
    Fellow Starmadian
    Downloads
    930
    Views
    930
    First release
    Last update
    Rating
    0.00 star(s) 0 ratings

    More resources from Fellow Starmadian

    Latest updates

    1. start of pointer data allocation

      added some pointer stuff
    2. ugh user error for sure this time

      had to add a data input reset. the main storage wasn't updating the input that the extractor...
    3. don't know what happened, but this one works

      I looked at the regex and it was all wrong, and not working, AFTER it had worked properly.. I'm...