Repository navigation
v0.23.0
MINOR: before 1.0.0, a breaking change increases MINOR. conforms gives findings for host code that passed before, and some documents give another error. No export goes.
Changes of behavior
conformsexamines walkers, the code of aderefand the functions of a profile (D137). In 0.22.0,conformsthrew for the name of a walker or of the code of aderef. It examinedformula.opandformula.extonly for the types in the optiontypes. In 0.23.0, the name selects the code, and the default types hold each named function of a profile. Thus host code that passed before can get a finding.- The probe
allofconformskeeps the rule ALL of the kernel (D128). A scenario with a choice of waits runs in up to six orders. The new obligationparallelgives a finding when the result, the parts or the effects change with the order. The typeObligationgets the memberparallel. - A certain cycle longer than the stack gives
#CYCLE!(D139). In 0.22.0, a long ring of nodes overflowed the stack of the host and gave#DEPTH!. In 0.23.0, a walk with its own stack finds the cycle at each length. A chain with no cycle keeps its#DEPTH!. - A kept read closes no false cycle (D136, D143). In 0.22.0, a closure whose
selfrefers to its own node gave#CYCLE!. A closure atfwhoseselfrefers tog, with agthat readsf, also gave#CYCLE!. In 0.23.0, both give their values. A true cycle gives#CYCLE!as before. - A failed
parsegives each issue of a text (D138). The fieldissuescan hold more than one item, at mostMAX_SYNTAX_ISSUES. The first item is the same issue as before. A valid text runs no recovery code. The new export isMAX_SYNTAX_ISSUES. STD_SYNTAXhas text forms forrecord,let,fnandcall(D127). In 0.22.0,printgave#VALUE!for these documents, andparsegave an issue for these texts. In 0.23.0, they have a text. Each text that parsed before gives the same document. A host that spreadsSTD_SYNTAXand adds an operator that starts with{,}or=>, or the word operatorlet, gets aTypeError.- The union
AttributeRungand the listATTRIBUTE_RUNGSget"forward"(D126). An exhaustive match over the union does not compile until it has the new member.STD_WORLDgets the kindtree.quote.
New features
- Higher-order attributes and forwarding (D126). An equation of
tree.attributes.<name>.highergives a document as data. The document evaluates with the node asself, as a new node under the node.TreeContract.forwardsgives an attribute that no other rung answers from a node that an attribute gives. An endless generation gives#DEPTH!atGENERATION_LIMITgenerated documents. The new exports aredocumentKeyandGENERATION_LIMIT. - Text forms in a syntax profile (D127). The new optional field
constructsof aSyntaxProfilenames the kind of each of the four forms. The new export is the typeSyntaxConstructs. - A language compiles its own paths (D129). A language outside the formula kit compiles a static path one time and reads it through
Runtime. The new exports arecompilePath,resolveCompiledand the typeCompiledPath. - The laws of the codec of one domain (D130).
codecLaws(machine, name, options)examines the lawssamples,encode,json,stable,decodeandroundtrip. The new exports arecodecLaws,CodecFinding,CodecLaw,CodecLawsOptionsandCodecProbe. - Certain cycles as issues, with no run (D131).
checkCycles(target)gives one issue for each certain cycle of a schedule. Each issue is a cycle that a run reports. The new exports arecheckCyclesand the typeCycleIssue. - A node of a schedule can have its own
self(D135). The optionScheduleOptions.selfOf(id, host)gives each node its ownself. Nodes with one document share one plan.agreeSchedulegets the optionselves, andScheduleAgreementCountsgets two fields. - A kept read is marked for the schedule (D136). The new optional member
HostThing.keeping(read)wraps each kept read that resolves its path.
Fixes
- Recovery ends with an empty separator (K226). In the code of D138 on
main,parsedid not end for a profile withseparator: ""and a text with a call. Recovery ends the read at the second item at one offset. This fault was in no release. - Each parameter property is a plain field (D160). The emitted JavaScript keeps the same members.
Tests and CI
These changes are not in the package. Each failed test of the measure step turns the step red, and PLAN.LEAN also reads the data spaces of the heap (D161, D162, D170). The gates read a change of the lock file, and a slower reading holds a merge only when the arm hashes differ (D166). A Speed dispatch takes the number of rounds and jobs (K225).