Aplikacja RAM interpreter jest idealnym narzędziem do udoskonalenia swoich umiejętności myślenia w dziedzinie programowania niskopoziomowego, bądź zdobycia podstawowej wiedzy w tej kategorii.
Dzięki przejrzystemu interfejsowi nie będziesz czuł się zagubiony podczas użytkowania aplikacji, a podpowiadanie składni nie pozwoli ci stanąć w miejscu, nie wiedząc co napisać.
Aktywne parsowanie kodu po wklejeniu go do edytora bądź otworzeniu pliku pozwoli ci wykryć ewentualne błędy i wskaże ci gdzie się znajdują.
Do tego kolorowanie składni pozwoli ci się odnaleźć w napisanym przez ciebie kodzie bez żadnych trudności.
Wszystko to jest dostępne w aplikacji RAM interpreter, która jest w stanie wykonać kod programu napisany w języku Random Access Machine.
Idea jak i składnia tego języka programowania jest dokładnie objaśniona w dokumencie znajdującym się na stronie "http://ns.prz-rzeszow.pl/~kswider/asd/“.
Aplikacja poza wyżej wymienionymi funkcjami posiada możliwość uruchomienia napisanego kodu. Parsowanie odbywa się w czasie rzeczywistym, dzięki czemu niemalże natychmiastowo na ekranie wyświetla się lista komend w kolejności wykonywania.
Chcąc doprowadzić do takiego stanu należy wcisnąć przycisk w prawym górnym rogu z ikoną ołówka, który powoduje przejście do trybu edycji. Stąd można wczytać plik z kodem źródłowym i uruchomić parsowanie. W razie znalezienia błędu w kodzie, na ekranie pojawi się komunikat opisujący dany błąd. Po dokonaniu parsowania na ekranie wyświetli się lista komend.
Chcąc rozpocząć pracę napisanego skryptu należy wcisnąć przycisk w prawym dolnym rogu. Znajdujące się w dolnej części ekranu trzy osobne pola służą do obsługi wykonania. Pierwsze od dołu - wejście programu, gdzie można wpisać liczby całkowite dodatnie bądź ujemne oddzielone przecinkiem; drugie - wyjście programu, na którym wyświetlane są liczby przy użyciu komendy WRITE; trzecie - lista użytych rejestrów podczas wykonywania programu.
Wyjście programu można również sformatować do własnych potrzeb.
W celu przypisania do zmiennej wartości danego rejestru należy zapisać "a=3", gdzie 3 oznacza numer rejestru. Natomiast chcąc zmiennej przypisać listę wartości, należy wpisać "lista=3:*6", gdzie *6 oznacza wartość rejestru o numerze 6.
Do wyjścia można zapisywać nieograniczoną ilość zmiennych. Należy każdą oddzielić przecinkiem.
Wykonanie napisanego programu może odbyć się na dwa sposoby: linia po linii kontrolowane przez użytkownika bądź automatycznie.
Chcąc wykonać program w części automatycznie, czyli do pewnego punktu, można ustawić linie, które będą oznaczały punkty przerwań. Dzięki temu program będzie wykonany automatycznie do momentu, w którym następnym poleceniem będzie to zaznaczone.
W celu ułatwienia pracy z edytorem dodane zostało podpowiadanie składni, które wyświetla na ekranie listę pasujących komend bądź użytych etykiet w kolejności od najbardziej trafnej.
Pełny opis jest dostępny w pliku: "https://docdro.id/mpURJZc".
Miłego kodowania!
The RAM interpreter application is an ideal tool to improve your thinking skills in the field of low-level programming or to acquire basic knowledge in this category.
Thanks to the clear interface you will not feel lost while using the application, and the syntax prompts will not allow you to stand in place, not knowing what to write.
Active parsing of the code after pasting it into the editor or opening the file will allow you to detect any errors and show you where they are.
In addition, coloring syntax will allow you to find the code you wrote without any difficulties.
All this is available in the RAM interpreter application, which is able to execute program code written in Random Access Machine language.
The idea and syntax of this programming language is explained in detail in the document found on the website "http://ns.prz-rzeszow.pl/~kswider/asd/".
The application, apart from the functions mentioned above, has the possibility to run the written code. Parsing takes place in real time, thanks to which almost immediately the screen displays a list of commands in the order of execution.
To bring about such a state, press the button in the upper right corner with the pencil icon, which causes the user to enter the editing mode. From here you can load the file with the source code and start the parsing. If an error is found in the code, a message will appear on the screen describing the error. After parsing, a list of commands will be displayed on the screen.
To start the work of the written script, press the button in the lower right corner. The three separate fields at the bottom of the screen are used to support the implementation. The first from the bottom - program input, where you can enter positive or negative integers separated by a comma; the second - the program output on which the numbers are displayed using the WRITE command; third - list of used registers during program execution.
The program output can also be formatted to suit your needs.
To assign a variable to a given register, you must write "a = 3", where 3 is the register number. However, if you want to assign a list of values to the variable, enter "list = 3: * 6", where * 6 means the value of register number 6.
You can save an unlimited number of variables to the output. Separate each with a comma.
The execution of a written program can take place in two ways: a line by line controlled by the user or automatically.
If you want to execute the program automatically, that is to a certain point, you can set the lines that will mark the breakpoints. Thanks to this, the program will be executed automatically until the next command is marked.
In order to facilitate the work with the editor, a syntax suggestion has been added which displays on the screen a list of matching commands or used labels in order from the most accurate one.
The full description is available in the file: "https://docdro.id/mpURJZc".
Have a nice coding!