←back to thread

221 points benbridle | 5 comments | | HN request time: 0s | source

Hey everyone, this is my latest project.

Bedrock is a lightweight program runtime: programs assemble down to a few kilobytes of bytecode that can run on any computer, console, or handheld. The runtime is tiny, it can be implemented from scratch in a few hours, and the I/O devices for accessing the keyboard, screen, networking, etc. can be added on as needed.

I designed Bedrock to make it easier to maintain programs as a solo developer. It's deeply inspired by Uxn and PICO-8, but it makes significant departures from Uxn to provide more capabilities to programs and to be easier to implement.

Let me know if you try it out or have any questions.

Show context
anta40 ◴[] No.44569178[source]
There are few examples here: https://benbridle.com/projects/bedrock.html

But where are the source codes?

replies(2): >>44569196 #>>44576983 #
1. _def ◴[] No.44569196[source]
If you want to see how the code looks like: https://benbridle.com/projects/bedrock/examples.html

The source for the examples and assembler/emulator is also there, follow the links.

replies(1): >>44569228 #
2. anta40 ◴[] No.44569228[source]
I mean the source code of sysinfo, clock, cobalt etc. Yes I've seen that page, but don't find the codes there....
replies(1): >>44569236 #
3. _def ◴[] No.44569236[source]
There are directly linked there, I guess the hyperlink styling is not too obvious: https://benbridle.com/share/sysinfo.br
replies(1): >>44569290 #
4. anta40 ◴[] No.44569290{3}[source]
I think those are the binaries. Opening those on nano/vim shows unreadable characters.

I mean, if you take a look at this page: https://benbridle.com/projects/bedrock/bedrock-pc.html

"To assemble a source code file program.brc and save the result as the program program.br, run the command..."

Where are the brc files?

replies(1): >>44569308 #
5. _def ◴[] No.44569308{4}[source]
Ah, you're right, I didn't see that.