Skip to content

Commit

Permalink
misc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jumanji144 committed Dec 8, 2023
1 parent c134e11 commit 52048e1
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
[![forthebadge](https://forthebadge.com/images/badges/contains-tasty-spaghetti-code.svg)](https://forthebadge.com)
# Jasm rewrite
# Jasm

This is a rewrite branch of JASM using a new syntax, and error recovery
mechanism.

## New syntax approach
Instead of using the classic `end` keyword, i have chosen to adopt a operator driven design:
```jasmin
.class public HelloWorld {
.method public static main([Ljava/lang/String;)V {
parameters: [args]
code: {
getstatic HelloWorld.out Ljava/io/PrintStream;
ldc "Hello World!"
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
return
}
}
}
```
Jasm is a Java and Dalvik (coming soon™) assembler suit.

0 comments on commit 52048e1

Please sign in to comment.