Hacker News

planckforth: Bootstrapping a Forth nkyerɛasefo fi nsa akyerɛw nketewa ELF binary

\u003ch2\u003eplanckforth: Wɔrebɔ Forth nkyerɛaseɛ afiri ELF binary nketewa a wɔde nsa akyerɛw mu\u003c/h2\u003e \u003cp\u003eSaa GitHub akoraeɛ a wɔabue ano yi gyina hɔ ma mmoa kɛseɛ ma developer ecosystem. Dwumadie no kyerɛ nnɛyi nkɔsoɔ nneyɛeɛ ne adwumayɛkuo coding...

6 min read Via github.com

Mewayz Team

Editorial Team

Hacker News
\u003ch2\u003eplanckforth: Wɔrebɔ Forth nkyerɛaseɛ afiri ELF binary nketewa a wɔde nsa akyerɛw mu\u003c/h2\u003e \u003cp\u003eSaa GitHub akoraeɛ a wɔabue ano yi gyina hɔ ma mmoa kɛseɛ ma developer ecosystem. Dwumadie no kyerɛ nnɛyi nkɔsoɔ nneyɛeɛ ne adwumayɛkuo coding.\u003c/p\u003e \u003ch3\u003eMfiridwuma mu Nneɛma\u003c/h3\u003e \u003cp\u003eƐbɛyɛ sɛ adekorabea no ka ho:\u003c/p\u003e \u003cul\u003e na ɛwɔ hɔ \u003cli\u003eKood a ɛho tew, wɔakyerɛw no yiye\u003c/li\u003e \u003cli\u003eREADME a ɛkɔ akyiri a ɛwɔ dwumadie nhwɛsoɔ\u003c/li\u003e \u003cli\u003eIssue tracking ne ntoboa akwankyerɛ\u003c/li\u003e \u003cli\u003eNsakraeɛ ne nsiesie a wɔyɛ no daa\u003c/li\u003e \u003c/ul\u003e na ɛyɛ adwuma \u003ch3\u003eMpɔtam hɔ Nsunsuansoɔ\u003c/h3\u003e \u003cp\u003eNnwuma a wɔabue ano te sɛ yei no ma nimdeɛ kyɛ na ɛma mfiridwuma mu nnoɔma foforɔ yɛ ntɛmntɛm denam mmara a wɔtumi nya ne nkɔsoɔ a wɔbom yɛ so.\u003c/p\u003e

Nsɛmmisa a Wɔtaa Bisa

Dɛn ne planckforth na adɛn nti na ɛda nsow?

planckforth yɛ adwuma a ɛbɔ Forth nkyerɛaseɛ a ɛyɛ adwuma koraa a ɛfiri aseɛ firi nsaano nkyerɛwee, ELF binary a ɛsua koraa. Sɛ́ anka wɔde wɔn ho bɛto assembler anaa compiler so no, wɔde raw bytes na ɛkyekye nhyehyɛe no nyinaa, na ɛma ɛyɛ adeyɛ soronko wɔ nhyehyɛe ahorow a ɛba fam nhyehyɛe mu. Ɛkyerɛ sɛnea ɛkame ayɛ sɛ nhyehyɛe tebea a edi mũ betumi afi biribiara mu aba — aba ketewaa bi a ɛyɛ abien ne ankasa nkyerɛase a ɛkɔ soro ara kwa.

Ɔkwan bɛn so na planckforth bootstrap ne ho fi binary ketewaa bi mu?

Adwuma no fi ase denam nsaanodwuma ELF dwumadie a ɛwɔ dwumadie a ɛyɛ mfitiaseɛ paa nko ara — akenkan nkyerɛwdeɛ, nkyerɛwdeɛ kyerɛw, ne dwumadie loop ketewa bi. Efi saa primitives a ɛba fam yi mu no, nhyehyɛe no kyerɛkyerɛ nsɛmfua foforo (dwumadi) mu wɔ Forth mu, na emu biara si nea etwa to no so. Layer by layer, ɛyɛ akontabuo, memory dwumadie, control flow, ne awieeɛ koraa no Forth nkyerɛaseɛ a ɛdi mũ, ne nyinaa nni abɔnten nnwinnadeɛ.

Hena na ɔbɛnya mfasoɔ sɛ ɔbɛsua saa adwuma yi?

Developers a wɔn ani gye compilers, interpreters, operating system internals, anaa ELF binary format ho no behu sɛ planckforth som bo kɛse. Ɛsan nso yɛ ade a eye kyɛn so ma obiara a ɔpɛ sɛ ohu Forth anaa bootstrapping akwan. Sɛ worehwehwɛ curated developer tools ne open-source projects te sɛ yei a, Mewayz ma wo kwan kɔ modules 207 a ɛfa nkɔsoɔ adwumayɛ ne mfiridwuma ho nsɛmti ho de gye $19/mo pɛ.

Dɛn na metumi asua afa Forth ho afiri saa akoraeɛ yi mu?

planckforth kyerɛkyerɛ Forth fi fam — sɛnea ɛte ankasa. Wobɛte sɛdeɛ kasa a egyina stack so yɛ adwuma wɔ mfiri no gyinabea, sɛdeɛ wɔkyerɛkyerɛ nsɛmfua mu na wɔhyehyɛ, ne sɛdeɛ nkyerɛaseɛ loop yɛ adwuma wɔ mu no ase. Ɛyi abstraction nyinaa fi hɔ, na ɛkyerɛ raw mechanics a ɛwɔ nsusuwii te sɛ nsɛm asekyerɛ nhoma, data stack, ne nsɛmfua a wɔde di dwuma ntɛm ara akyi. Mewayz modules betumi de developer nneɛma foforo ahyɛ adesua yi mu.

ahyɛ adesua yi mu

Yɛ Wo Adwumayɛ OS Ɛnnɛ

Efi freelancers so kosi nnwumakuw so, Mewayz ma nnwuma 138,000+ tumi a ɛwɔ module 207 a wɔaka abom. Fi ase kwa, upgrade bere a woanyin.

Yɛ Akontaabu a Wontua hwee →

Try Mewayz Free

All-in-one platform for CRM, invoicing, projects, HR & more. No credit card required.

Start managing your business smarter today

Join 30,000+ businesses. Free forever plan · No credit card required.

Ready to put this into practice?

Join 30,000+ businesses using Mewayz. Free forever plan — no credit card required.

Start Free Trial →

Ready to take action?

Start your free Mewayz trial today

All-in-one business platform. No credit card required.

Start Free →

14-day free trial · No credit card · Cancel anytime