BON
1 program
Added 2026-03-10T14:18:54Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Business Object Notation
Provenance: commit 31fda5daef · authored 2026-03-10T15:20:19+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/business-object-notationRelated languages
LLM-contributed programs
Bank Account Class Charts
Provenance: commit 31fda5daef · authored 2026-03-10T15:20:19+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
class_chart ACCOUNT
description: "A simple bank account."
query
"What is the balance?", Balance: REAL
"What is the account holder name?", Holder: STRING
"Is the account active?", Active: BOOLEAN
command
"Deposit the given amount.", Deposit (amount: REAL)
"Withdraw the given amount.", Withdraw (amount: REAL)
"Close the account.", Close
constraint
"Balance is non-negative", Balance >= 0.0
end
class_chart BANK
description: "A financial institution managing accounts."
query
"How many accounts does the bank have?", Account_count: INTEGER
"Does the bank hold a given account?", Has_account (id: INTEGER): BOOLEAN
command
"Open a new account for the given holder.", Open_account (holder: STRING)
"Close a specific account.", Close_account (id: INTEGER)
constraint
"Account count is non-negative", Account_count >= 0
end
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)