GitXplorerGitXplorer
J

GuuDebugger

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
00f6b9c1327fa92ff98aac237df7899f6d107081

chore:" use enum class field instead of enum variatn name.

JJSMonk committed 4 years ago
Unverified
ecfa6e0f71f74460d06f62942712956cd32a3a33

chore: move compile method invokation into also block.

JJSMonk committed 4 years ago
Unverified
ec3a5bcf87de020efb4fbda72769b071aadf1ac7

chore: update gitignore.

JJSMonk committed 4 years ago
Unverified
03be614057f699b2ddbcba872591fca0c181c3b2

chore: add gitigmnore.

JJSMonk committed 4 years ago
Unverified
e2c4d84809830e97f63504c590ceaac17c369629

chore: initial commit

JJSMonk committed 4 years ago
Verified
95248e137e6ffe01a392bce3528d4df3ab4845d2

Update README.md

JJSMonk committed 4 years ago

README

The README file for this repository.

GuuDebugger

A simple step-by-step debugger for Guu language

Guu program is a collection of procedures. Every procedure begins with the sub keyword and the name of the procedure and ends with other procedure declaration (or with file end if the procedure is final). Execution starts from the main procedure

A procedure body is an instructions sequence. At the start of a line can be any count of spaces and tabs. Empty lines should be ignored. Guu doesn't have a comments block.

Guu has only three statements: - set (varname) (new value) - set a new value to variable. - call (subname) - call a procedure (calls can be recursive). - print (varname) - print a value of variable.

Variables in Guu language exist only in the global scope. So, the next program will print 2:

sub main
  set a 1
  call foo
  print a

sub foo
  set a 2