gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
Added a flag variable for conditional jumps.
CALL commands should not be used in VAR blocks to go outside
them - so this was introduced. Alternative is to use "global" variables
for the operands.
CALL commands should not be used in VAR blocks to go outside
them - so this was introduced. Alternative is to use "global" variables
for the operands.
start of 0.1.7
small fixes in the formating of the generated code
fix for the optional generation of opcodes in comments
samples - chrtest updated a bit
Proper char printing in the translated codes.
So far only the char codes were printed. Now a custom function for translation
of codes to chars in WSL was added to the generated sources. It recognises
codes 10 and 13 as new lines.
So far only the char codes were printed. Now a custom function for translation
of codes to chars in WSL was added to the generated sources. It recognises
codes 10 and 13 as new lines.
gitignore directory kde
Alternative to make Push and Pop instead of TAIL and HEAD for stack manipulation; default off, has problems with the current transformations
refactor - generalise stack operations for easier future changes
Merge branch 'vars' into work
mjc2wsl -adding more VARS to the actions
exp transf - added better metrics display for greping from the log; also the other improvements from transf-min
experimental transformations - added Flag Removal to the auto transfs
added local VAR wrappers to the code in the actions; applied to div and rem
more notes about what is different - heap, null, etc
start of v0.1.6
docs - mj-compiler.txt is a more logical name
docs - about the compiler in the lib folder, improvements
ant - updates to use the jar for the MJ compiler. The compiler.class.dir can still be used to override it
jar file for the MJ compiler added
README - more notes about the docs folder
docs - new txt about running the ant tasks
docs - new txt about mjc2wsl, what works, what is different, and what doesn't
README - added notes about the additional documentation about MJ
docs - added MircoJava specification pdfs that were used in this project
10 years agomjc2wsl - minor updates to the print formating, the actions are now more easily disti...
mjc2wsl - minor updates to the print formating, the actions are now more easily distiguished
mjc2wsl - use the proper start action right away in the action system generation
mjc2wls - introduce a procedure into the end result for MicroJava Prints
mjc2wsl removed some unneeded variables from the start
transf-min - we run simplify without the assumptions of a regular system, and then we just simplify it
new sample - Recursive Factoriel
added experimental version for transformations
transf-min does not need to explicitly Simplify, it's called anyway
mjc2wsl - removed a final CALL Z that was not needed anyway
updated sample to use 'len' to test the functionality
mjc2wsl - support for array length is now functional in FermaT
mjc2wsl - introduced the --version options and added to help
mjc2wsl - reorganize help into chunks in separate functions
mjc2wsl extract the print version function
mjc2wsl, introduce longhelp with options for generating extra code
.gitignore, reordered and commented items
ant - minor fix, the recorder had a wrong name to stop
ant - wsl-run, update the InitScm path, as in the newer FermaT
ant - wsl-run, put the new folder at the start of the path
ant - log time format update
ant - added a necesary part for proper env processing
logs added to gitignore
version change - 0.1.5
10 years agoant - added logging to main tasks that work on all the samples; slightly improved... v0.1.4
ant - added logging to main tasks that work on all the samples; slightly improved clean
ant - simple MJ decode operations
ant/project minor - let's simplify and call the 'samples-temp' just 'temp'
samples renamed to more logical names
README updated a bit
txt about the compiler
ant - changed properties according to the change dir structure (lib)
minor mjc2wsl - outputstream initialisation for messages
applied GPL to sources in src
refactor - extract the Messages system into a new class
mjc2wsl - refactoring, renamed all the methods that generate pieces of WSL to start with 'create'.
minor - mjc2wsl - formatting, align indention etc
mjc2wsl - shr and shl added
mjc2wsl - object support - new, get/put field
mjc2wsl - dup, dup2 commands
mjc2wsl - array length added, but only formally, there are problems with this
mjc2wsl - return does not need a condition. This makes the action system more likely to be recursive (not a hybrid)
new sample for ArraysTesting - multiple in recursion
mjc2wsl - array support - newarray, aload, baload, astore, bastore
new sample for ArrayTesting
mjc2wsl - FIX inc, forgot a ;
mjc2wsl - FIX num-char print-read were the other way around
mjc2wsl - neg command
mjc2wsl - inc command
mjc2wsl - pop command
mjc2wsl - fields and memmory allocation scaffolds to read the instructions properly; adequate error messages about not being actually processed
10 years agosamples - chrtest, removed the null test that is not really related. Also let's print...
samples - chrtest, removed the null test that is not really related. Also let's print a letter.
mjc2wsl - added statics
10 years agomjc2wsl - add warnings and comments when reading and writing chars that are not conve...
mjc2wsl - add warnings and comments when reading and writing chars that are not converter from number codes
samples - rekfib - do 3 value calculations, nicer print
mjc2wsl - call and return do not need to work with MStack
mjc2wsl - prints and reads, using the same code blocks, support spacings, prints in the same line everything, like MJVM
mjc2wsl - enter/exit proper storage of local variables on the stack in procedure calls; all locals are in the same array, potentially not pretty
samples - rekfib1, simplify for now
mjc2wsl minor help message fix
mjc2wsl - more command line options
mjc2wsl - minor - rename private vars for pause/print on address jumps
mjc2wsl - directives to print Estack on each change
mjc2wsl - minor - use 'loc' to generate local names always
mjc2wsl - trap operation is now full
10 years agomjc2wsl - jumps have ELSE branches, so that actions have normal ends for the recursiv...
mjc2wsl - jumps have ELSE branches, so that actions have normal ends for the recursive returns
mjc2wsl - enter processing the local variables
10 years agomjc2wsl - added optional PRINTs of addresses as the WSL code is executed, plus option...
mjc2wsl - added optional PRINTs of addresses as the WSL code is executed, plus optional pauses after each
new sample Rek1 - very simple recursion that is good for testing
mjc2wsl - start from the proper address
mjc2wsl - process start of bytecode proper
mjc2wsl - added partial trap processing, so that the bytes align further
ant - added properties for MJ compiler/runner class names
new sample - RekFib
ant - test tasks - can be run at once on the obj, wsl and transformed files
ant - minor: reorder the task in the file into groups
ant - microjava run task
Svarog.pmf.uns.ac.rs/gitweb
maintanance Doni Pracner