Advertisement · 728 × 90
#
Hashtag
#bjForth
Advertisement · 728 × 90
Post image

Bubble sort in #bjForth demonstrating Java inter-op: gist.github.com/bahmanm/fad0... 😎

#Programming #Forth #Java #JVM

1 1 0 0
Preview
Release v0.0.3 · bahmanm/bjforth 🎉 A good deal of words and primitives were introduced in this release along improving the user-friendliness of bjForth. ✔️ Some prominent changes include: Looping construct (WHILE, UNTIL, AGAIN) C...

Thrilled to announce the release of #bjForth v0.0.3 🎉

A heap of improvements and additions. What's best is that they are automatically tested every time a change is pushed 😎

Grab the latest tarball and hack yourself some serious Forth.

github.com/bahmanm/bjfo...

#Programming #Forth #Java #JVM

1 1 0 0
Post image

Added some "visual effects" to #bjForth output 😎
It already feels very professional 😆

#Programming #Java #JVM #Forth

3 1 0 0
Post image

#bjForth v0.0.2 is here! 🎉

After nearly 2 years of work, I'm excited to release the first version of #bjForth, featuring partial JONESFORTH compatibility and initial Java interop.

Grab it and start hacking: github.com/bahmanm/bjfo...

#Programming #Forth #Java #JVM

4 1 0 0
Preview
Java interop · Issue #223 · bahmanm/bjforth Thinking about Java interop two main use-cases come to my mind. Calling instance methods Using the primitive .. and specifying the desired arity: 10 longValue/1 .. . java.lang.Long<10> Calling stat...

Currently working on Java inter-op for #bjForth: github.com/bahmanm/bjfo...

Looking forward to your opinions on semantics and syntax 🙏

#Programming #Forth

1 0 0 0
Screenshot of bjForth showing it compile and run compound words.

Screenshot of bjForth showing it compile and run compound words.

IT WORKS! 🎉

First ever release is in the works. 🕺

💡 #bjForth is a #Forth written entirely in #Java: github.com/bahmanm/bjfo...

#Programming

5 1 0 0

How simple-minded of me to think JONESFORTH's execution model can easily be translated to Java 🤦😅🤔

#Forth #bjForth #Java #Programming

3 1 0 0
Screenshot demonstrating bjForth prompt doing simple arithmetics.

Screenshot demonstrating bjForth prompt doing simple arithmetics.

IT WORKS! 🕺🎉

_There's still plenty to go for #bjForth to be JONESFORTH compatible though._

github.com/bahmanm/bjfo...

#Programming #Forth #Java #JVM

2 1 0 0
Preview
Implement the INTERPRET primitive by bahmanm · Pull Request #175 · bahmanm/bjforth

I just implemented the INTERPRET word along with tests in #bjForth.

A small step for the #Forth world, a giant step for bjForth.

github.com/bahmanm/bjfo...

#Programming

0 0 0 0

In case you're interested, #bjForth master is broken as I am refactoring the tests case by case. The idea is to make them uniform, less verbose and more readable.

#Programming #Forth

0 0 0 0

Working on #bjForth, I'm having trouble reading `INTERPRET` in jonesforth.S:2090, especially mapping it #Java.

Have you done this before? If not, would you be so kind as to give it a read and tell me in English or pseudo-code what does it do?
#Forth #JVM #Programming

is.gd/dPKEkP

2 1 0 0
Preview
GitHub - bahmanm/bjforth: Bahman's Forth on the JVM Bahman's Forth on the JVM. Contribute to bahmanm/bjforth development by creating an account on GitHub.

#bjForth implementation has come a long way. Now I'm writing the code for the `INTERPRET` word - serious stuff!

I'm essentially just a few inches away from being able to feed Forth code to bjForth - fun times indeed!
github.com/bahmanm/bjfo...

#Forth #JVM #Java #Programming

3 2 0 0
A screenshot of bjForth test code with builders and custom assertions.

A screenshot of bjForth test code with builders and custom assertions.

When starting #bjForth, I spent some time writing builders for my tests so they read naturally.
That, paired with the custom assertions I wrote with #AssertJ, has really made my test code read very fluently.
An upfront investment I don't regret at all 😎
#Programming #Java #JVM #Forth #TDD

7 2 1 0