~
Docs
CoursesLanguageSystemUserspaceToolsManualGlossary
AgentAmesAPIAquaArmArvoAtomAuraAural ASCIIAxesAxisAzimuthBatteryBehnBowlBridgeBuntCardCaseCaskCellCensuresClaimsClamClayCold atomCometCommitConsContextCordCoreCueDelegated SendingDeskDillDocument ProposalDojoDoorDouble-bootDry GateDuctEclipticEntropyEvent LogEyreFaceFactFoo Bar BazGalaxyGallGardenGateGeneratorGiftGlobHD WalletHeadHelmHoodHoonInvite TreeIrisJaelJamJetKelvin versioningKernelKeyfileKeywordsKhanKilnLandscapeLarkLegLickListLoobeanLullMarkMetalsMoldMonadMoonMoveNockNoun~OTA UpdatesPath PrefixPath@pPayloadPeekpHPierPillPlanetPokeProxiesScryReplayFactory ResetRollerNaive rollupsRuneRuntimeSailSampleScrySenateShipSlamSpiderSponsorStarStringSubject Oriented ProgrammingSubjectSubscriptionTailTapeTermThreadTrapUdonUpgrade ProposalUserspaceVaneVaseVereVotingWarm atomWet GateWingWireWrapper~zodZuse
Glossary/Generator

Generator

A generator is something like a script in Arvo. Generators are written in Hoon and run from the dojo like +code, |hi ~zod, +vats, etc. They are usually used for two things: printing system information and passing commands to the system or apps. Generators are either ordinary gates (a "naked generator") or a %say/%ask generator with a more particular structure.

Further reading

  • Hoon school: gates: This lesson on gates also introduces generators.
  • Hoon school: text processing: This lesson includes %say generators.
~Urbit Docs
HomeCoursesLanguageSystemUserspaceToolsManualGlossary
GitHubAirlock APIsUrbit BinariesDeveloper Mailing ListIssue TrackerWhitepaper
Privacy Policy
Terms of Service
[email protected]