GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    mcc (mcc@mastodon.social)'s status on Tuesday, 07-Jan-2025 07:35:14 JSTmccmcc
    in reply to

    Okay. So some updates.

    It turns out loops (BEGIN..UNTIL) are a "premium" Forth feature and are only available inside functions. So I need to wrap the whole program in a : function ; . Well not the whole program, not the VARIABLEs, and I don't think you can nest the functions, and… never mind. I do the nest. New code:

    https://github.com/mcclure/aoc2024/tree/85890d80d89ebe82df779e20607f78cd4275f8db

    gforth fails with :

    src/puzzle.f:38: Invalid memory address

    I wrapped my program in a : run [code here] ; run . Line 38 is "run".

    I'm still lost.

    In conversationabout a year ago from mastodon.socialpermalink

    Attachments


  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.