Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Leonard Ritter
@lritter@mastodon.gamedev.place  ·  activity timestamp 5 days ago

today is design time. which is the best of times. which is the worst of times.

my job is to transform this bag of semantic manure (see pic) into something fruitful. it's just for the bootstrap language (with which i build the editor) so it doesn't have to be the pinnacle of expressiveness.

so let's begin.

#devlog

dep = merge # undefined
x0 = 50.0
y0 = 50.0
x1 = 100.0
y1 = 100.0
%x0 = ftos x0 4
%y0 = ftos y0 4
%x1 = ftos x1 4
%y1 = ftos y1 4
dep -> do
    %100 = draw_line %x0 %y0 %x1 %y0
    %110 = draw_line %x1 %y0 %x1 %y1
    %120 = draw_line %x1 %y1 %x0 %y1
    %130 = draw_line %x0 %y1 %x0 %y0
draw_rect = spec
    group dep x0 y0 x1 y1 %100 %110 %120 %130 %x0 %y0 %x1 %y1
    \ 0 1 2 3 4
dep = merge # undefined x0 = 50.0 y0 = 50.0 x1 = 100.0 y1 = 100.0 %x0 = ftos x0 4 %y0 = ftos y0 4 %x1 = ftos x1 4 %y1 = ftos y1 4 dep -> do %100 = draw_line %x0 %y0 %x1 %y0 %110 = draw_line %x1 %y0 %x1 %y1 %120 = draw_line %x1 %y1 %x0 %y1 %130 = draw_line %x0 %y1 %x0 %y0 draw_rect = spec group dep x0 y0 x1 y1 %100 %110 %120 %130 %x0 %y0 %x1 %y1 \ 0 1 2 3 4
dep = merge # undefined x0 = 50.0 y0 = 50.0 x1 = 100.0 y1 = 100.0 %x0 = ftos x0 4 %y0 = ftos y0 4 %x1 = ftos x1 4 %y1 = ftos y1 4 dep -> do %100 = draw_line %x0 %y0 %x1 %y0 %110 = draw_line %x1 %y0 %x1 %y1 %120 = draw_line %x1 %y1 %x0 %y1 %130 = draw_line %x0 %y1 %x0 %y0 draw_rect = spec group dep x0 y0 x1 y1 %100 %110 %120 %130 %x0 %y0 %x1 %y1 \ 0 1 2 3 4
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.6 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct