From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: Re: [9front] Tips or guides to start programming on 9front?
Date: Wed, 23 Oct 2024 22:01:57 +1300 [thread overview]
Message-ID: <22381E6ABF12AD6FAB8D0AB144A3EC48@prosimetrum.com> (raw)
In-Reply-To: <c73e239f-8b58-494e-90e2-dc3164695642@app.fastmail.com>
If you want to do graphical stuff,
Amavect wrote some nice docs:
http://wiki.9front.org/libdraw-tips
http://wiki.9front.org/programming-gui
Other than that, just make yourself cozy.
Use a generic mkfile in your src dir like:
</$objtype/mkfile
TARG = `{ls | sed -n 's/\.c$//p'}
BIN = /$objtype/bin
</sys/src/cmd/mkmany
so you can just touch newproj.c and have a
quick mk 6.newproj && 6.newproj cycle,
then hook it straight into sam:
^echo w; window -cd src 'mk 6.newproj && 6.newproj; rc'
add it to the menu with the new M command
and you have a nice tight workflow. Get used
to the conventions. After a few basic programs,
the traditional learner project is to write a filesystem.
umbraticus
next prev parent reply other threads:[~2024-10-23 9:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 15:27 Jacobo Da Riva Muñoz
2024-10-22 17:15 ` Romano
2024-10-23 9:01 ` umbraticus [this message]
2024-10-23 10:18 ` sirjofri
2024-10-23 17:31 ` Noam Preil
2024-10-23 17:48 ` adventures in9
2024-10-24 7:24 ` Jacobo Da Riva Muñoz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22381E6ABF12AD6FAB8D0AB144A3EC48@prosimetrum.com \
--to=umbraticus@prosimetrum.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).