20
설계 결정
리스펙스 2.0 이 무엇을 골랐고 어떤 대안을 견줬는지, 각 선택이 명세 어디에 있는지 담았습니다.
채택한 결정 122개
이 쪽의 내용
입력 승인과 평가 영수증을 구분합니다.
선택
입력을 승인할 수 없으면 별도 승인 보고를 냅니다. 이때 정본 평가 결과와 평가 영수증은 생기지 않습니다.
검토한 대안
거절도 영수증 형식의 한 갈래로 포함하거나, 성공할 때만 영수증을 발급합니다.
관련 명세
- Resolve a common finite preset
- Keep terminal failures outside guards
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Check the components of a package
- Pass data across the host boundary
- Validate prepared programs
- Refuse unsupported requests before entry
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Keep profile work separate
- Validate data without coercion
- Reject malformed and alternate encodings
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Pass outside facts as data
- Classify every native operation explicitly
- Map admitted records in canonical key order
- Reject malformed explicit limits
- Reject invalid host input before the guard
- Reject a host callback as input
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Reject an excluded library operation
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Reject missing engine support
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- Compare separate profile work identities
- Receipts for a value and a language failure
- Repeat a terminal resource stop
- Reject an unsupported physical envelope
- Reject an unlimited request
- Reject a host callback as input
- Reject a required Deferred primitive
- Reject a missing primitive classification
- Order exact keys and reject duplicates
승인 보고의 형식을 정합니다.
선택
승인 거절과 평가 이후의 프로파일 작업에는 서로 다른 닫힌 보고 형식을 씁니다.
정체성 표시는 확인한 범위 안에서만 기록합니다. 제출에 연결된 바인딩이 없으면 부재를 표시하고, 이미 완성된 영수증은 바이트 그대로 보존합니다.
검토한 대안
모든 거절을 평가 영수증의 한 유형으로 기록하거나, 정체성을 나타내는 임의의 문자열을 허용합니다.
번역 인용
제출을 거절한 경우 평가가 일어난 것처럼 기록하지 않습니다. 호스트에서 나중에 작업하더라도 이미 완성한 결과를 지울 수 없습니다.
관련 명세
- Admission report bytes
- Profile work reports preserve the receipt
- Mark only verified identity bindings
- Keep a claimed program identity out of verified markers
- Distinguish a checked evidence identity from an authenticated issuer
- Omit an identity whose bounded hashing did not complete
- Keep partial input outside admission receipts
- Refuse a declaration before assigning its identity
- Check evidence for a completed failure receipt
- Preserve a successful receipt after schema mismatch
- Reserve room for the complete terminal report before entry
산출물의 컨테이너 형식을 정합니다.
선택
평가기 내보내기, 패키지 메타데이터와 산출물에는 닫힌 Datum 컨테이너를 씁니다. 고정된 이름만 내보내고 외부에서 가져오지 않습니다. 설치에서 지원하는 조합은 별도로 검증합니다.
자체 다이제스트가 순환하거나 의존성이 조용히 바뀌는 일을 막습니다.
검토한 대안
내용을 드러내지 않는 제품별 바이너리를 쓰거나, JSON 메타데이터에서 임의로 내보낼 대상을 정합니다.
원문 인용
같은 prepared bytes를 만들고 자체 digest 순환과 조용한 의존성 대체를 막는다
관련 명세
- Use closed artifact containers
- Admit the exact evaluator exports
- Pin the complete package contract
- Reject imports and extra exports
- Open a package with pinned contracts
- Reject substituted library bytes
- Keep program identity outside local sites
- Reject a mismatched prepared payload tag
- Emit one default prepared format
- Read one response without rerunning
- Require supported evaluator evidence
모든 실행 진입점에 유한 한도를 둡니다.
선택
모든 공개 실행 진입점에서 유한한 한도를 요구하고, 공통 기본 설정을 제공합니다.
계량을 생략하는 기본 Interp 경로와 WASM 실행 경로를 제거합니다.
검토한 대안
실행 진입점마다 따로 계량하거나, 개발 모드의 실행 한도를 없앱니다.
스택 한도를 공통 최솟값에 고정하거나, 제품마다 다른 한도를 허용합니다.
제품별로
run의 동작을 달리하거나, 한도가 있는 제품과 없는 제품을 분리합니다.저수준 API나 형식 제한이 없는 JSON만 제공합니다.
관련 명세
- Concrete command forms
- Resolve a common finite preset
- Prepare before evaluating
- Keep terminal failures outside guards
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Transfer a tail result without retaining a caller frame
- Bound numeric work without changing its meaning
- Prepare before evaluation
- Validate prepared programs
- Reject continuation and dynamic handler procedures
- Refuse unsupported requests before entry
- Keep profile work separate
- Identify every semantic input
- Preserve the class of a failed attempt
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Limit active semantic frames
- Keep preparation and evaluation budgets separate
- Every program uses the sandbox contract
- Finish within finite limits
- Account for preparation separately
- Classify every native operation explicitly
- Resolve the same default
- Reject malformed explicit limits
- Prepare without calling the entry
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Stop finite evidence work after evaluation
- Reject an excluded library operation
- Stop a finite input schema check before entry
- Reject missing engine support
- An admission report without an evaluation receipt
- Two artifacts for the same request
- Equal results under different finite limits
- Keep incomplete attempts out of semantic receipts
- Compare separate profile work identities
- Repeat a terminal resource stop
- Preserve evaluation work through preparation reuse
- Resolve the shared finite preset
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Reject an unlimited request
- Compare limits around the complete work charge
- One datum through each product
- Stop an unending rule
- Stop when preparation has insufficient budget
- Reject a required Deferred primitive
- Reject a missing primitive classification
닫힌 모듈의 형식을 정합니다.
선택
모듈 이름은 소스 읽기 문법의 식별자 하나로 정합니다. 가져올 이름과 내보낼 이름, 이름 변경은 명시합니다.
모듈 의존성이 순환하면 거절합니다.
제출된 소스 전체와 고정 라이브러리의 닫힌 묶음을 사용합니다. 평가할 때마다 라이브러리와 모든 소스 모듈을 다시 초기화합니다.
검토한 대안
복합 이름 또는 순환 의존성을 허용하거나, 실제로 도달한 모듈만 초기화합니다.
원문 인용
부분 초기화 값을 막는다. 제출 순서와 cache가 첫 실패나 평가 사건을 바꾸지 못한다. 모든 제출 코드가 프로그램에 남는다.
관련 명세
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Repeat initialization for every request
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject an import of a private binding
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
닫힌 모듈 묶음을 만듭니다.
선택
준비 단계에서 어휘 범위의 가져오기와 내보내기를 확정해 닫힌 모듈 묶음을 만듭니다.
검토한 대안
모듈을 지원하지 않거나, 실행 중에 모듈 참조를 해석합니다.
관련 명세
- Prepare before evaluating
- Reject dynamic condition control
- Validate artifacts before execution
- Prepare a rule and evaluate an input
- Resolve a name in its lexical scope
- Project resolved bindings
- Supply every dependency
- Import exported lexical bindings
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Preserve resolved meaning
- Validate prepared programs
- Validate each declared entry
- Supply one input datum to the entry
- Select the declared root entry
- Keep source, program, and artifact identities separate
- Keep preparation and evaluation budgets separate
- Pass outside facts as data
- Resolve only submitted source
- Prepare closed guest library code
- Prepare without calling the entry
- Reject a continuable signal
- Reject a procedural handler
- Reject dynamic cleanup
- Refuse an artifact that requests file access
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Revalidate transported prepared bytes
- A procedure keeps the enclosing value
- Follow a shadowed name
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Repeat initialization for every request
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Reject an import of a private binding
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject a constant as an entry
- Pass several facts in one list datum
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject an entry with no parameters
- Two spellings of the same program
- Preserve evaluation work through preparation reuse
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject runtime source loading
- Keep library references closed
- Keep library evaluation charges across caches
모든 제품이 같은 명령 형식을 씁니다.
선택
모든 제품은 lispex --language 2.0 --product PRODUCT COMMAND 형식으로 명령을 받습니다.
명령은 결과 레코드 하나를 내고, 영수증은 별도로 지정한 곳에 씁니다.
정확한 수는 정수나 기약분수로 표시합니다.
검토한 대안
제품마다 명령을 다르게 정하거나, 내부 형식이 가려진 요청 파일 하나를 받습니다.
번역 인용
입력을 명시하면 주변 환경 설정이나 재실행 중의 덮어쓰기가 결과에 끼어들지 않습니다. 승인한 요청과 형식 판이 같으면 제품이 달라도 같은 정본 페이로드와 영수증 바이트를 얻습니다.
조건의 닫힌 목록을 정합니다.
선택
조건을 만들고 다루는 데 검사형 생성자 make-condition 하나와 condition?, condition-code, condition-phase, condition-data, raise를 씁니다.
응용 확장 코드를 포함한 11개 코드는 진단과 같은 타입의 필드를 사용합니다.
조건에는 발생 정체성과 소스 위치가 들어가지 않습니다.
검토한 대안
코드와 페이로드를 제한하지 않거나, 코드마다 별도의 생성자를 제공합니다.
번역 인용
정확한 스키마를 쓰면 코드와 페이로드가 서로 어긋나지 않습니다. 기존 Datum 리스트를 사용하므로 새 공개 값 종류가 필요하지 않습니다. 실행을 끝내는 실패는 처리기가 잡을 수 있는 조건으로 꾸밀 수 없습니다.
관련 명세
- Expose stable condition data
- Construct and inspect typed conditions
- Propagate a structured condition
- Report an empty input as a failure
- Repeat the complete request
- Use the input of each new request
- Apply every library check in a fixed order
- Use the complete public procedure catalog
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Keep the left argument failure first
- Propagate the caught condition
- Inspect the empty-list failure
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Inspect a Condition through its public procedures
지원하는 제어 연산을 정합니다.
선택
call/cc와 dynamic-wind를 없앱니다. 프로시저 방식의 처리기와 실행을 재개할 수 있는 처리기도 없앱니다.
검토한 대안
기존의 탈출 전용 동작을 유지하거나, 이어서 실행할 상태를 온전히 다루는 기능을 제공합니다.
한도가 있는
finally를 지원하거나, 기존dynamic-wind를 유지합니다.결과 값만으로 실패를 나타내거나, 기존 동적 예외 체계를 유지합니다.
관련 명세
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Reject dynamic condition control
- Propagate a structured condition
- Keep terminal failures outside guards
- Reject continuation and dynamic handler procedures
- Limit active semantic frames
- Public procedure contracts
- Reject a continuable signal
- Reject invalid host input before the guard
- Choose the first matching clause
- Reject a removed operation before evaluation
- Recover from an empty pair input
- Handle a recovery failure in the outer guard
- End an unending guarded calculation
- Return the successful body value
- Pass an unmatched condition outward
- Reject a procedural handler
- Propagate the caught condition
- Reject dynamic cleanup
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Reject guest output
자원 요율을 검증 뒤 확정합니다.
선택
새 2.0 요율은 구현하고 공격 입력으로 확인한 뒤 확정합니다.
검토한 대안
1.x의 요율을 재사용하거나, 구현과 검증보다 먼저 명세를 공개하고 확정합니다.
원문 인용
수 체계·제어·stdlib·canonical event가 바뀌므로 1.x 증거를 2.0 승인으로 전용할 수 없다.
관련 명세
- Identify every diagnostic by phase and code
- Serialize typed diagnostic fields without coercion
- Resolve a common finite preset
- Construct and inspect typed conditions
- Validate artifacts before execution
- Resolve finite limits before entry
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Qualify output separately
- Keep profile work separate
- Reject malformed and alternate encodings
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Identify model data before resolving budgets
- Reserve before the semantic effect
- Charge normative work
- Finish within finite limits
- Account for preparation separately
- Check a binding group before its children
- Apply every library check in a fixed order
- Classify every native operation explicitly
- Exchange exact canonical data
- Resolve the same default
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Reject malformed explicit limits
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse malformed explicit limits
- Revalidate transported prepared bytes
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Meter work inside exact multiplication
- Refuse a pair before its allocation effect
- Compare limits around the complete work charge
- Stop an unending rule
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reserve only the next required check
- Stop when preparation has insufficient budget
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
- Reject a required Deferred primitive
- Reject a missing primitive classification
정본 Datum 코덱을 정합니다.
선택
lispex.datum/2는 매직 머리말과 최소 길이 프레이밍, 닫힌 태그 11개를 씁니다. 정수와 유리수를 정확하게 인코딩하고 UTF-8을 엄격하게 읽습니다. 정본 형식이 아닌 입력은 정해진 순서로 거절합니다. 호스트 레코드는 이름을 UTF-8 바이트 순으로 정렬한 연관 리스트로 바꿉니다.
검토한 대안
태그를 붙인 정본 JSON 또는 CBOR의 부분집합을 씁니다.
번역 인용
Datum 종류는 바이트에 직접 대응합니다. 한 가지 표현으로 정확한 값과 원본 스칼라를 보존합니다. 잘못된 입력을 엄격하게 거절하므로 호스트가 값을 복구하거나 형식을 확장하지 않습니다.
관련 명세
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
십진 표기의 값 의미를 정합니다.
선택
십진 표기는 정확한 정수나 기약 유리수를 나타냅니다.
원래 표기의 소수 자릿수는 관찰할 수 없으며, 수의 동등성은 수학적 값으로 판단합니다.
검토한 대안
십진 자릿수를 독립된 상태로 보존합니다.
관련 명세
- Exact numeric display
- Give decimal spellings exact numeric values
- Round on an explicit decimal grid
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Exchange exact canonical data
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
평가와 검사의 순서를 고정합니다.
선택
평가와 검사와 순회, 첫 오류와 정본 키의 순서를 고정합니다.
검토한 대안
일부 평가 순서를 규정하지 않거나, 평가 순서를 자유롭게 바꿀 수 있게 합니다.
임의 순회를 허용하거나, 해시를 전면 금지합니다.
관련 명세
- Expose stable condition data
- Report the first ordered failure
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Evaluate the operator and arguments in order
- Distinguish parallel and sequential bindings
- Reject a repeated definition in one scope
- Use named let for a recursive loop
- Evaluate only the selected expressions
- Repeat the complete request
- Preserve dependencies and control flow
- Compare exact mathematical values
- Check rounding arguments before numeric work
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Preserve resolved meaning
- Expand a final argument list with apply
- Match fixed parameters to arguments
- Pass an internal value sequence to its receiver
- Require one value where one value is consumed
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Replay only the complete same request
- Order the axes within one reservation
- Keep checks and reservations in order
- Repeat the same semantic request
- Preserve meaning through normalization
- Read the complete module before normalization
- Select the first component of a pair
- Apply every library check in a fixed order
- Validate complete list tuples before callbacks
- Validate lists before ordered callbacks
- Use default simple and full case algorithms
- Validate equality operands in a fixed order
- Map admitted records in canonical key order
- Validate data before returning structural equality
- Use the fixed Unicode repertoire
- Keep a condition through presentation changes
- Keep the left argument failure first
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Handle a recovery failure in the outer guard
- Preserve lexical scope and internal values
- Require one test and recipient value
- Pass an unmatched condition outward
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- An operator failure comes first
- A let initializer sees the enclosing name
- Reject duplicate names in one let
- Reject a second definition
- A sequence stops at its first failure
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Stop after the deciding operand
- Treat only false as false
- Leave the other branch unevaluated
- Replay a failing request
- Replay a successful request
- Inspect both branches and execute one
- Follow a recursive tail call
- Compare ratios and decimal spellings
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Repeat initialization for every request
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Bind arguments in parameter order
- Reject a missing argument
- Reject zero values in a binding initializer
- Receive two internal values
- Receive zero internal values
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- A matching value from a different request
- A retained request without its resource model
- Replay both a value and a failure
- Keep a domain check before later arithmetic work
- Choose the first insufficient axis at one event
- Repeat a request after preparation
- Preserve a binding through conditional sugar
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Preserve full expansions and original context
- Compare separately constructed lists
- Visit pair and vector components in order
- Select the first invalid operand
- Compare explicitly folded scalar sequences
- Order exact keys and reject duplicates
- Reject a procedure inside shared data
- Check the whole data domain
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
진단의 닫힌 목록을 정합니다.
선택
진단은 단계와 코드의 닫힌 조합을 사용하며, 조합마다 타입이 있는 필드를 둡니다. 15개 단계와 48개 코드로 55개 조합을 정의합니다.
게스트가 보는 정체성 11개는 조건 스키마와 정확히 일치합니다.
정확한 정수는 십진 문자열로 씁니다. Datum 필드는 정본 코덱 바이트를 소문자 16진수로 표시합니다.
검토한 대안
전역 코드와 메시지 문자열을 쓰거나, 필드 집합을 확장할 수 있게 합니다.
번역 인용
정수의 폭이나 독자에게 보이는 진단 문구는 의미 정체성에 영향을 주지 않습니다. 입력 승인, 평가, 프로파일 작업, 호스트 중단은 각각 자신의 보고 경계를 유지합니다.
관련 명세
- Identify every diagnostic by phase and code
- Source and preparation diagnostic mapping
- Serialize typed diagnostic fields without coercion
- Reject dynamic condition control
- Keep terminal failures outside guards
- Present the same condition twice
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Source forms, modules, and entry checks keep their identities
- Prepared failures share the closed schema
- Preserve language results through profile refusal
- Reader checks select existing families
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Evaluate after a failed request
- Separate interrupted attempts
- Report an incomplete source form
- Reject a continuable signal
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Reject a procedural handler
- Reject dynamic cleanup
규칙 진입점의 인수 개수를 정합니다.
선택
실행 진입점은 인수 하나를 받을 수 있는 고정 매개변수 형식이나 나머지 매개변수 형식을 허용합니다.
검토한 대안
매개변수를 한 개로 고정한 목록만 허용합니다.
관련 명세
- Validate each declared entry
- Supply one input datum to the entry
- Select the declared root entry
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject a constant as an entry
- Pass several facts in one list datum
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject an entry with no parameters
동등성 검사의 순서를 정합니다.
선택
왼쪽 값 전체를 검사한 뒤 오른쪽 값 전체를 검사하고, 두 검사를 마치면 구조를 비교합니다.
깊이 우선으로 순회하며 car를 cdr보다 먼저 방문합니다. 벡터는 인덱스가 작은 원소부터 방문합니다.
검토한 대안
검사하면서 값을 비교합니다.
실행 증거를 별도 봉투에 담습니다.
선택
정본 Ed25519 진술 하나와 서명 하나를 정확한 영수증 바이트에 묶습니다.
키에서 발급자 정체성을 얻습니다. 신뢰 자료는 호출자가 오프라인 입력으로 직접 제공합니다.
검토한 대안
각 제품이 서명 방식을 정하고 인증서를 찾게 하거나, 영수증 안에 서명을 넣습니다.
번역 인용
닫힌 서명 판정과 한 가지 서명 표현을 쓰면 모든 제품이 같은 검증 결과를 냅니다. 정확한 영수증 바이트에 묶어서 정본 결과를 보존합니다. 호출자가 제공하는 정책으로 권한을 명시하고 주변 환경을 탐색하지 않습니다.
관련 명세
- Sign one canonical execution statement
- Verify evidence under explicit offline trust
- Retain a result when evidence work stops
- Authenticate the exact statement packet
- Use only the supplied trust entries
- Verify one complete canonical signed statement
- Keep the original signed work scope
- Reject alternate Ed25519 representations
- Bind verification to the selected receipt
정확한 수를 사용합니다.
선택
수는 정확한 정수, 기약 유리수와 정확한 십진수로 표현합니다.
십진 리터럴도 정확한 값을 가집니다. 자릿수와 반올림 방식은 명시합니다.
검토한 대안
의미를 완전히 정한 소프트웨어 부동소수점 또는 호스트의
f64를 사용합니다.원문 인용
규칙에 필요한 금액·비율을 정확하게 표현하고 수학 라이브러리 의존을 줄인다.
고정 자릿수의 십진수 또는 의미를 규정한 소프트웨어
binary64를 사용합니다.
관련 명세
- Identify a failure by phase and code
- Exact numeric display
- Bound numeric work without changing its meaning
- Give decimal spellings exact numeric values
- Preserve exact numeric meaning
- Keep a quotient exact and reject zero divisors
- Reject inexact numeric values
- Choose scale and rounding explicitly
- Compare exact mathematical values
- Reduce rational values
- Round on an explicit decimal grid
- Select a rounding mode and resolve every tie
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Validate data without coercion
- Reject malformed and alternate encodings
- Count cumulative logical allocation
- Read numeric literals exactly
- Give literals exact values
- Read one fixed syntax
- Decode exact UTF-8 source bytes
- Use the exact numeric contract
- Use the complete public procedure catalog
- Identify the evaluation phase
- Report an incomplete source form
- Calculate beyond a 64-bit unsigned range
- Choose tenths and hundredths in ordinary rule code
- Return the values denoted by decimal spellings
- Add exact decimal values
- Keep one third exact and reject division by zero
- Stop an unending calculation with numeric growth
- Reject an explicit inexact literal
- Compare ratios and decimal spellings
- Reduce a fraction and preserve its sign
- Compare numeric values across spellings
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Keep discarded allocation charges
- Read pair tails, vectors, and bytevectors
- Add exact decimal literals
- Read exact names with bars and escapes
- Reject an inexact literal
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Add exact decimal values
- Report a zero base for negative powers
명령 결과를 종료 상태에 대응시킵니다.
선택
종료 상태는 0 2 10 11 20 21 30 40 41 42 50 51의 열두 가지입니다.
준비 중 자원 소진은 11, 승인 거절은 30으로 보고합니다. 사용 검증의 거절에는 40, 증거의 거절에는 41을 씁니다.
평가가 실패하면 이후 프로파일 작업을 거쳐도 그 실패가 드러납니다.
검토한 대안
몇 가지 일반 분류로 묶거나, 운영체제가 제공하는
sysexits를 사용합니다.번역 인용
소스 준비의 소진과 입력 승인, 사용 검증, 증거의 거절을 구분합니다. 이미 완성된 결과와 유효한 실패 영수증의 의미를 그대로 유지합니다.
관련 명세
- Common command outcomes
- Numeric command status
- Report an operational failure exit
- Report a resource failure exit
- Return application decision data
- Report an evaluation domain failure
- An evaluation failure keeps its status
- Report incomplete host input
- Separate interrupted attempts
- Every phase has a command status
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Verification and replay retain the outcome
조건 분기를 명시합니다.
선택
if에는 두 갈래를 모두 씁니다. cond의 마지막에는 비어 있지 않은 else 절을 씁니다.
값이 없거나 여러 값이 있는 결과는 values로 명시합니다.
갈래를 생략해 미정 값을 얻을 수 없습니다.
검토한 대안
갈래를 생략하면 암묵적으로 값이 없는 결과를 내거나 대체 Datum을 반환합니다.
관련 명세
- Evaluate only the selected expressions
- Record a complete prefix of execution events
- Keep one typed prepared graph
- Validate every prepared record
- Identify the validated canonical module meaning
- Forward explicitly returned internal values
- Require written conditional alternatives
- Select each admitted clause shape
0의 음수 거듭제곱을 거절합니다.
선택
expt에 정확한 0을 밑으로 주고 음수 지수를 주면, 인수 0인 밑에서 domain.division-by-zero를 보고합니다.
역수를 구하는 중에 0으로 나누므로 거절합니다.
검토한 대안
domain.numeric으로 보고하거나 지수를 오류 위치로 가리킵니다.
guard가 조건을 전파하는 방식을 정합니다.
선택
guard 절은 소스에 나타난 순서대로 확인합니다.
일치하는 절이 없으면 원래 조건을 전파합니다. 절을 실행하는 동안에는 그 guard가 비활성 상태입니다.
검토한 대안
같은
guard에 다시 진입하도록 하거나, 조건이 전파되는 방식을 정하지 않습니다.
관련 명세
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Handle a recovery failure in the outer guard
- Preserve lexical scope and internal values
- Require one test and recipient value
- Pass an unmatched condition outward
guard 절의 문법을 정합니다.
선택
guard에는 검사식과 본문, 검사식만, 검사식과 수신자, 마지막 else의 네 가지 절을 씁니다. 검사식은 소스 순서대로 한 번씩 실행하며, 일치하는 절이 없으면 원래 발생을 전파합니다.
검토한 대안
검사식과
else만 지원하거나, 별도의 패턴 문법을 추가합니다.번역 인용
평가를 한 번만 수행하고 처음 일치한 절을 선택하므로 동작이 결정적입니다. 처리 중인
guard를 비활성화하면 실패를 바깥으로 전파하면서 내부 다중 값을 보존할 수 있습니다.
guard의 꼬리 위치를 정합니다.
선택
guard의 본문은 꼬리 위치에 놓이지 않습니다.
활성 guard가 본문 전체를 보호합니다. 본문의 마지막 call-return 다음에 guard-leave가 일어납니다.
본문이 실패하면 call-return 없이 guard 위 프레임을 폐기해 용량을 반환합니다. guard를 비활성화한 뒤 처리기를 선택합니다.
바깥 호출에서 대기 중인 반환 정보는 보존합니다.
선택한 처리기 절의 마지막 식은 전체 guard 식의 꼬리 위치를 물려받습니다.
검토한 대안
guard의 본문과 절에 모두 꼬리 위치를 부여합니다. 또는 본문의 꼬리 호출이guard를 없애거나 실패한 호출에서 정상 반환을 만들게 합니다.
관련 명세
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Transfer a tail result without retaining a caller frame
- Validate every prepared record
- Use the ordered semantic event catalog
- Limit active semantic frames
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
호스트 인터페이스의 바이트 형식을 정합니다.
선택
닫힌 lispex.datum/2 요청과 Rust·C·TypeScript 서명을 사용합니다. 핸들은 직렬화하지 않습니다.
이 경계를 넘어 호스트 정수 폭이나 콜백을 전달하지 않습니다.
검토한 대안
호스트마다 다른 객체를 전달하거나, JSON으로만 호출할 수 있게 합니다.
원문 인용
호스트 너비와 callback을 배제하고 같은 입력의 바이트와 평가 계량을 보존한다
관련 명세
- Encode one closed host request
- Supply the complete bundle and root
- Use phase-specific typed calls
- Keep the decoded Unicode root
- Require root even for one module
- Refuse incomplete and inexact limits
- Reuse only the immutable program
- Encode exact host request bytes
- Host request decoding priority
- Refuse evaluation before sealing
호스트 보고를 별도 봉투에 담습니다.
선택
CommandResult 계약 하나에 DiagnosticPayloadBytes와 호스트 Open, Build, load, export의 결과를 담습니다. Reports.terminal에는 완전한 EmergencyTerminalBytes를 담고, 보고 성공 여부와 별개로 추적 상태를 유지합니다.
일반 작업을 시작하기 전에 최종 보고와 바깥 프레이밍의 비상 공간을 확보합니다.
검토한 대안
별도 CLI 명령을 추가하거나, 기존 결과나 영수증을 교체합니다.
정체성의 인코딩을 정합니다.
선택
닫힌 lispex.datum/2 레코드를 영역별로 분리한 SHA-256으로 해시합니다.
프로그램 의미는 지역 참조가 있는 정본 모듈 의미로 나타냅니다. 요청은 모든 필드를 담고, 프로파일 작업은 별도 정체성을 가집니다.
소스의 원래 표기와 엔진 포장 방식은 프로그램 의미에 포함하지 않습니다.
검토한 대안
소스, 제품별 산출물 바이트, 준비된 인코딩 하나 중 하나를 해시해 의미를 식별합니다.
번역 인용
소스의 표기와 엔진 포장을 프로그램 의미에서 빼면서도 채택한 언어 그래프를 그대로 표현합니다. 구성이 유한하고 순환하지 않으며, 제품마다 알고리즘을 새로 고르지 않습니다. 기록한 의미 입력과 호스트 작업 입력은 각각 해당 정체성 계산에 포함됩니다.
관련 명세
- Identify the validated canonical module meaning
- Use separated SHA-256 identity domains
- Encode named records as canonical Datum
- Bind each request to its complete inputs
- Compare exact request bytes before semantic verification
- Identical octets keep distinct identity domains
- An empty source has exact identity bytes
- A duplicate module table has only captured provenance
- Identity decoding rejects alternate record shapes
- Reader escapes keep one decoded module name
- A distinct canonical binding name remains distinct
- Both prepared encodings retain one program meaning
- An unrelated module does not rename a dependency meaning
- A host budget change keeps the semantic request
서로 다른 정체성을 분리합니다.
선택
정본 코드, 바이트가 정확히 일치하는 소스, 엔진 산출물에는 서로 다른 정체성을 부여합니다.
검토한 대안
참조 구현을 의미의 기준으로 유지하거나, 바이트코드를 유일한 언어 명세로 삼습니다.
제품마다 기존 영수증 형식을 확장하거나, 결과만 해시합니다.
E 번호만 쓰거나 자유로운 문구로 진단을 표현합니다.
관련 명세
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Bind an early report to source
- Serialize typed diagnostic fields without coercion
- Keep replay and evidence checks distinct
- Expose stable condition data
- Construct and inspect typed conditions
- Check the components of a package
- Keep external facts and actions with Topaz
- Repeat the complete request
- Keep original sites in grouped views
- Keep source maps outside semantic identity
- Preserve evaluation across caches
- Preserve resolved meaning
- Validate prepared programs
- Attach evidence to the same outcome
- Compare the complete semantic outcome
- Identify every semantic input
- Replay only the complete same request
- Verify evidence against its request and outcome
- Keep source, program, and artifact identities separate
- Bind a receipt to the request and outcome
- Bind early preparation failures to their source
- Preserve the first exhausted axis and site
- Repeat the same semantic request
- Preserve meaning through normalization
- Preserve source spelling
- Read the complete module before normalization
- Reject invalid source before evaluation
- Separate tokens outside literals
- Prepare closed guest library code
- Present the same condition twice
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Report an incomplete source form
- Compare a recorded result
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Replay a fact captured by Topaz
- Refuse mismatched package components
- Replay a failing request
- Replay a successful request
- Group repeated expressions without losing sites
- Replay after source locations move
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Compare spacing and comment variants
- Attach distinct evidence to one language outcome
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- Check the record that an envelope authenticates
- The same failure with different presentation
- A retained request without its resource model
- Compare separate profile work identities
- Receipts for a value and a language failure
- Replay both a value and a failure
- Two spellings of the same program
- A preparation failure before program identity exists
- Preserve the stop through constant sharing
- Repeat a request after preparation
- Preserve a binding through conditional sugar
- Keep two Unicode spellings distinct
- Preserve text inside a string
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Ignore a comment between forms
- Reject an unfinished source form
- Keep library references closed
- Keep library evaluation charges across caches
불변 값을 사용합니다.
선택
set!과 복합 값 변경을 포함한 공개 변경 기능과 재정의를 없앱니다.
값은 불변으로 유지합니다.
효과가 밖에서 관찰되지 않는 내부 최적화는 허용합니다.
검토한 대안
한 요청 안에서 변경을 허용하거나, 선형 또는 영역 단위로 변경을 허용합니다.
벡터만 변경할 수 있게 하거나, 변경할 수 있는 별도 영역을 허용합니다.
관련 명세
- Fresh requests in interactive tools
- Prepare a rule and evaluate an input
- Distinguish parallel and sequential bindings
- Reject a repeated definition in one scope
- Keep each binding unchanged
- Tie recursive names only to procedures
- Resolve a name in its lexical scope
- Use named let for a recursive loop
- Use the input of each new request
- Import exported lexical bindings
- Match fixed parameters to arguments
- Collect remaining arguments in a list
- Count cumulative logical allocation
- Select the first component of a pair
- Public procedure contracts
- Transform data without changing it
- Keep executable values inside evaluation
- Evaluate after a failed request
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Reject an assignment
- Use an internal recursive procedure
- A procedure keeps the enclosing value
- Call another procedure in the recursive group
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- A let initializer sees the enclosing name
- Reject duplicate names in one let
- Reject a value initializer in letrec
- Reject a second definition
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Use a new input after a failure
- Keep an imported procedure in its module
- Reject an import of a private binding
- Collect zero arguments
- Bind arguments in parameter order
- Reject a missing argument
- Keep the remaining argument order
- Keep discarded allocation charges
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Reject guest output
- Return nested data
- Reject an executable element in a result
- Keep the original list after construction
- Reject vector mutation
승인 요건을 프로파일로 정합니다.
선택
안전한 언어 하나를 바탕으로 승인과 증거의 요건을 좁히는 프로파일을 제공합니다.
프로파일은 입출력 스키마, 허용 라이브러리와 증거 요건을 좁힐 수 있습니다. 승인한 프로그램에는 기존 실행 의미를 그대로 적용합니다.
검토한 대안
기존 바우치 부분집합만을 언어로 삼거나, 프로파일을 모두 없애고 호출마다 바우치 증거를 요구합니다.
원문 인용
순수한 규칙의 표현력을 과거 witness 구현 부족에 종속시키지 않으면서 제품의 증거 요구를 분리한다. “full=unsafe, checked=safe” 구도를 없앤다.
관련 명세
- Refuse unsupported requests explicitly
- Check the components of a package
- Preserve meaning across products
- Require conformance from a graph evaluator
- Refuse unsupported requests before entry
- Use one base language
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Validate data without coercion
- Preserve meaning after admission
- Identify every semantic input
- Keep meaning when a profile admits a request
- Refuse mismatched package components
- Compare a value and a domain failure across products
- Refuse an unsupported resource model
- Compare an independent graph evaluator
- Return a value in the base language
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Reject an excluded library operation
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Reject missing engine support
- Two artifacts for the same request
- Equal results under different finite limits
- Compare separate profile work identities
- Compare an admitted request across profiles
순차 바인딩의 이름 가리기를 허용합니다.
선택
let*의 각 바인딩은 새 중첩 범위를 엽니다.
같은 이름을 다시 바인딩하면 앞선 바인딩을 가립니다.
검토한 대안
let*안에서 같은 이름을 다시 쓰면 거절합니다.
목록 인덱스의 사건을 정합니다.
선택
list-ref와 list-tail은 마지막 꼬리까지 리스트 전체를 검사한 뒤 인덱스가 유효한 값과 범위에 속하는지 확인합니다. 실제로 지나가는 cdr만 방문하고, list-ref는 선택한 car도 방문합니다. list-tail에 0을 주면 이동과 끝 위치 사건이 모두 생기지 않습니다.
검토한 대안
끝 위치를 항상 추가로 방문하거나, 인덱스 0에서도 이동 비용을 청구합니다.
목록 생성의 사건을 정합니다.
선택
make-list는 count가 0이어도 두 인수가 허용 범위에 속하는지 먼저 검사합니다.
결과의 각 인덱스에서 크기 1인 traversal-state와 크기 2인 pair datum-allocate를 차례대로 예약합니다. 앞선 pair 예약이 성공한 뒤에 다음 인덱스를 처리합니다. count가 0이면 두 사건 없이 빈 리스트를 반환합니다.
검토한 대안
모든 순회 상태를 한꺼번에 예약하거나, 빈 결과에도
pair를 할당합니다.
의미 그래프의 형식을 정합니다.
선택
의미 그래프는 resolved/1 봉투를 재사용합니다. 위치는 프로그램 안에서 정하고, 소스 맵과 추적은 따로 유지합니다. 바깥 봉투가 다이제스트 순환 없이 프로그램 정체성을 제공합니다.
검토한 대안
제품별 그래프를 쓰거나, 간선에 별도의 정본 스키마를 둡니다.
원문 인용
채택된 IR을 재사용하고 외부 identity로 digest 순환 없이 관계와 source span을 보존한다
관련 명세
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Reject malformed graph associations and frames
- Project all prepared forms into one graph
- Encode typed local site vectors
- Map escaped names to exact UTF-8 spans
- Reserve complete trace frames and one footer
의미 그래프를 투영합니다.
선택
참조 해석을 마친 중간 표현에서 의미 그래프를 만듭니다. 한도가 있는 추적은 실행 결과를 바꾸지 않습니다.
검토한 대안
소스 AST를 시각화하거나, 그래프를 별도 언어 또는 주 평가기로 삼습니다.
관련 명세
- Preserve dependencies and control flow
- Encode a local occurrence and event role
- Require conformance from a graph evaluator
- Read one canonical graph record
- Keep original sites in grouped views
- Project resolved bindings
- Bind byte spans to exact submitted source
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Record a complete prefix of execution events
- Reserve channels and return one atomic outcome
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
모듈을 정의할 때의 자원 사건을 정합니다.
선택
람다가 아닌 모듈 정의에는 순차 바인딩 하나의 사건을 사용합니다. 초기화 식을 평가하고 순차 모듈 그룹의 element(0)에서 결과 하나를 확인한 뒤 environment-create와 binding-initialize를 수행합니다.
중간 저장을 위한 별도 사건열은 두지 않습니다.
서로 이웃한 람다 정의에는 재귀 그룹의 사건을 씁니다.
검토한 대안
병렬
let과 같이 결과를 별도 순서로 보관하거나, 모듈 전용 사건을 도입합니다.
여러 리스트의 순회 방식을 정합니다.
선택
길이의 일치를 요구하기 전에 모든 리스트의 연결 구조를 끝까지 검사합니다.
길이가 다르면 unequal-lengths를 담은 domain.range를 보고합니다.
빈 리스트에서도 콜백의 인수 개수를 검사합니다. 인수 순서, 순회 방향과 결과 개수는 정해진 규칙을 따릅니다.
검토한 대안
가장 짧은 리스트에서 멈추거나, 짧은 리스트를 채워 길이를 맞춥니다.
번역 인용
입력을 조용히 버리지 않으며, 빈 자리를 메울 값을 암묵적으로 선택할 필요도 없습니다. 첫 실패와 콜백 순서는 모든 제품에서 같습니다.
관련 명세
- Validate complete list tuples before callbacks
- Validate lists before ordered callbacks
- Require one result where the traversal consumes one value
- Check callback arity even for empty lists
- Fix fold direction and accumulator position
- Allocate a mapped pair before the next callback
- Pass each list tuple in argument order
- Finish every list shape before callback checks
이름 있는 let의 초기화 범위를 정합니다.
선택
이름 있는 let의 초기화 식은 바깥 범위에서 평가합니다. 반복 이름은 본문 안에서만 참조할 수 있습니다.
검토한 대안
초기화 식을 재귀 범위 안에서 평가합니다.
암묵적 호출의 꼬리 위치를 정합니다.
선택
apply의 대상과 call-with-values의 소비자는 네이티브 호출의 꼬리 위치를 물려받습니다.
꼬리 호출은 네이티브 프레임과 대기 중인 반환을 이어받으므로 네이티브 호출에서 call-return을 내지 않습니다. 생산자와 나머지 라이브러리 콜백은 꼬리 위치에 놓이지 않습니다.
apply로 반복을 표현해도 꼬리 단계에 숨은 한도가 생기지 않습니다.
검토한 대안
모든 암묵적 호출을 꼬리 위치에서 제외하거나, 생산자도 꼬리 호출로 처리합니다.
관련 명세
- Transfer a tail result without retaining a caller frame
- Validate every prepared record
- Expand a final argument list with apply
- Pass an internal value sequence to its receiver
- Use the ordered semantic event catalog
- Use the complete public procedure catalog
- Stop a nontail apply loop at its frame limit
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
네이티브 커널과 게스트 라이브러리를 나눕니다.
선택
네이티브 커널을 최소화하고 나머지는 게스트 표준 라이브러리에 둡니다.
파생 연산을 리스펙스로 작성하면 언어의 계량 규칙을 물려받습니다.
기본 연산마다 다섯 분류 중 하나를 명시합니다.
최종 네이티브 기본 연산의 수는 이관을 마친 뒤 정합니다.
검토한 대안
문서와 처리기를 각각 관리하거나, 분류가 없는 항목에는
Fixed를 기본으로 부여합니다.네이티브 프로시저 205개를 각각 검증하거나, 다수에 컴파일러 전용 변환을 추가합니다.
관련 명세
- Validate prepared programs
- Refuse unsupported requests before entry
- Preserve the first exhausted axis and site
- Charge normative work
- Prepare closed guest library code
- Validate lists before ordered callbacks
- Preserve library events through optimization
- Classify every native operation explicitly
- Use the complete public procedure catalog
- Public procedure contracts
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject an excluded library operation
- Reject missing engine support
- Meter work inside exact multiplication
- Preserve the stop through constant sharing
- Keep library references closed
- Reject a required Deferred primitive
- Reject guest output
- Keep library evaluation charges across caches
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Reject a missing primitive classification
- Preserve a library domain failure
- Preserve the first library resource stop
2.0 명세에 쓸 증거의 범위를 정합니다.
선택
/next를 2.0의 규범 명세로 구성하고 새 제품의 증거를 연결합니다.
1.x의 관측은 2.0에서 검사를 통과했다는 증거로 인정하지 않습니다.
검토한 대안
1.21 문서에 예외를 추가하거나, 새 문서 엔진을 만듭니다.
관련 명세
- Require conformance from a graph evaluator
- Use one base language
- Attach evidence to the same outcome
- Keep source, program, and artifact identities separate
- Every program uses the sandbox contract
- Compare an independent graph evaluator
- Return a value in the base language
- Attach distinct evidence to one language outcome
- Two spellings of the same program
- One datum through each product
2.0 규범 의미를 기준으로 삼습니다.
선택
구현은 /next의 2.0 규범 의미와 사례를 따릅니다.
검토한 대안
참조 구현을 의미의 기준으로 남기거나, 바이트코드만 언어 명세로 사용합니다.
관련 명세
- Preserve meaning across products
- Resolve a name in its lexical scope
- Report an empty input as a failure
- Require conformance from a graph evaluator
- Project resolved bindings
- Give decimal spellings exact numeric values
- Supply every dependency
- Import exported lexical bindings
- Preserve resolved meaning
- Use one base language
- Keep source, program, and artifact identities separate
- Bind early preparation failures to their source
- Keep meaning when a profile admits a request
- Read numeric literals exactly
- Preserve meaning through normalization
- Preserve source spelling
- Read the complete module before normalization
- Reject invalid source before evaluation
- Separate tokens outside literals
- Select the first component of a pair
- Use the exact numeric contract
- Public procedure contracts
- Use the specified text semantics
- Compare a value and a domain failure across products
- A procedure keeps the enclosing value
- Inspect the empty-list failure
- Compare an independent graph evaluator
- Follow a shadowed name
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a missing module
- Reject an import of a private binding
- Compare spacing and comment variants
- Return a value in the base language
- Two spellings of the same program
- A preparation failure before program identity exists
- Compare an admitted request across profiles
- Preserve a binding through conditional sugar
- Keep two Unicode spellings distinct
- Add exact decimal literals
- Reject an inexact literal
- Preserve text inside a string
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Ignore a comment between forms
- Reject an unfinished source form
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Add exact decimal values
- Reject guest output
- Keep different scalar sequences distinct
바이트벡터를 목록으로 바꿀 때의 사건을 정합니다.
선택
bytevector->list는 저장된 길이를 한 번 읽고 각 바이트를 방문합니다. 정수와 pair 할당은 크기 3인 단일 사건으로 함께 예약합니다.
입력이 비어 있으면 길이만 방문하고 빈 리스트를 반환합니다.
검토한 대안
정수와
pair를 따로 예약하거나, 빈 리스트에도 할당 사건을 둡니다.
결과와 영수증의 형식을 정합니다.
선택
평가 결과, 준비 보고, 영수증, 명령 결과는 서로 다른 단계에 속하며 닫힌 Datum 레코드로 표현합니다.
이미 끝난 평가의 데이터는 이후 호스트 실패에도 남습니다.
검토한 대안
제품별 JSON과 메시지 문자열을 쓰거나, 모든 시도를 하나의 평가 영수증으로 합칩니다.
번역 인용
하나의 인코딩으로 정확한 값과 첫 실패를 보존합니다. 평가를 이미 마쳤다면 호스트가 나중에 실패해도 평가 데이터는 남습니다.
관련 명세
- One command result packet
- Canonical outcome fields
- Preparation report fields
- Portable receipt bytes
- Keep the actual receipt when comparison work exhausts its budget
- Retain the completed receipt after output interruption
- Preserve diagnostic strings and path tags
- Encode an exact rational outcome
- Keep failure receipts after evidence refusal
- Publish one result and a separate receipt packet
- Reject a failure site from another program
- Exclude counters and evidence from a receipt
- Do not verify an invalid source name table
- Report exact source bytes without a program identity
- Report a missing or unknown command without inventing a command
준비와 평가를 나눕니다.
선택
준비와 평가는 비용을 따로 셉니다. 캐시 적중은 평가 비용을 바꾸지 않습니다.
검토한 대안
준비와 평가 예산을 합치거나, 준비 비용은 세지 않습니다.
관련 명세
- Bind an early report to source
- Prepare before evaluating
- Resolve finite limits before entry
- Preserve meaning across products
- Prepare a rule and evaluate an input
- Preserve evaluation across caches
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Prepare before evaluation
- Qualify output separately
- Keep profile work separate
- Preserve meaning after admission
- Identify every semantic input
- Replay only the complete same request
- Bind a receipt to the request and outcome
- Reserve channels and return one atomic outcome
- Resolve finite budgets before execution
- Keep preparation and evaluation budgets separate
- Finish within finite limits
- Repeat the same semantic request
- Account for preparation separately
- Reject invalid source before evaluation
- Prepare closed guest library code
- Preserve library events through optimization
- Prepare without calling the entry
- Report an incomplete source form
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Reuse one immutable prepared rule
- Compare a value and a domain failure across products
- Reject a procedure at the result boundary
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Repeat initialization for every request
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Prepare without entering a rule
- Stop before issuing a prepared program
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Initialize an unimported supplied module
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- A retained request without its resource model
- Compare separate profile work identities
- Receipts for a value and a language failure
- Replay both a value and a failure
- Preserve evaluation work through preparation reuse
- Resolve the shared finite preset
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Reject an unlimited request
- Repeat a request after preparation
- Stop an unending rule
- Stop when preparation has insufficient budget
- Reject an unfinished source form
- Keep library references closed
- Keep library evaluation charges across caches
- Preserve a library domain failure
- Preserve the first library resource stop
준비된 프로그램의 형식을 정합니다.
선택
참조를 해석한 프로그램은 타입이 있는 의미 그래프 하나로 나타냅니다. 정본 인코딩은 resolved/1과 bytecode/1 두 가지입니다. 어휘 범위의 바인딩과 의미 노드, 위치, 의존성, 진입점을 보존합니다. 정해진 순서로 검증한 뒤 불변 핸들을 반환합니다.
검토한 대안
제품별 불투명 바이너리를 받거나, VM 명령과 별도의 동등성 증명을 함께 사용합니다.
원문 인용
제품별 sugar 확장과 실행 구조가 canonical bytes를 바꾸지 않는다. 유한한 구조 검증으로 binding과 site를 확인하며 재사용해도 초기화와 계량은 새로 시작한다.
관련 명세
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Keep one typed prepared graph
- Validate every prepared record
- Return a sealed immutable handle
- Reject malformed graph associations and frames
- Project all prepared forms into one graph
- Encode typed local site vectors
- Map escaped names to exact UTF-8 spans
- Reserve complete trace frames and one footer
- Keep the captured lexical binding
- Encode one graph in both formats
- Refuse incompatible fixed dependencies
- Reject malformed prepared bytes
- Keep runtime checks in evaluation order
- Check control edges and occurrence sites
- Retain each semantic surface form
- Stop validation before publishing a handle
- Reuse immutable code with fresh evaluation state
공개 프로시저 목록을 정합니다.
선택
별칭이 없는 공개 프로시저 149개를 닫힌 목록으로 정합니다.
목록에는 각 프로시저의 인수 개수와 허용 범위, 결과, 실패 순서, 자원 사건 이름을 기록합니다.
검토한 대안
데이터 연산만 남깁니다.
번역 인용
순수 데이터 연산을 게스트에서 조합해 규칙을 작성할 수 있습니다. 검증과 결과, 실패와 자원 사건은 언어가 정합니다.
관련 명세
- Apply every library check in a fixed order
- Validate complete list tuples before callbacks
- Use the complete public procedure catalog
- Public procedure contracts
- Reserve each octet integer and pair together
- Resolve every public procedure binding
- Validate later arguments before an early numeric or text result
- Compose argument lists and internal value sequences
- Inspect a Condition through its public procedures
- Report a zero base for negative powers
- Keep internal procedures in immutable aggregates
- Visit only the selected list components
- Use only false as a false predicate result
- Reserve each constructed list position
- Validate searchable data before finding an early match
- Calculate exact integer and rational library results
- Read all lengths before append allocation
- Validate element domains even for empty construction
- Check exact indices and half-open ranges
- Reserve each UTF-8 result component
- Preserve text and reject malformed UTF-8
- Keep the first invalid UTF-8 byte site
프로시저의 인수와 반환값을 정합니다.
선택
가변 인수와 내부 다중 값은 계속 지원합니다.
실행 경계에서는 인수 하나를 받고 값 하나를 냅니다.
검토한 대안
인수 개수를 고정하거나, 튜플만 받습니다.
전역 입력과 표준 출력 관례를 유지하거나, 임의 인수와 호스트 객체를 허용합니다.
관련 명세
- One explicit input and one result
- Prepare a rule and evaluate an input
- Distinguish parallel and sequential bindings
- Evaluate only the selected expressions
- Pass one input and receive one result
- Expand a final argument list with apply
- Supply one input datum to the entry
- Return exactly one portable datum
- Match fixed parameters to arguments
- Pass an internal value sequence to its receiver
- Collect remaining arguments in a list
- Require one value where one value is consumed
- Reject guest input
- Reject multiple boundary results
- Return one explicit input
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- A let initializer sees the enclosing name
- A sequence stops at its first failure
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Stop after the deciding operand
- Treat only false as false
- Leave the other branch unevaluated
- Return the first item
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Collect zero arguments
- Reject a request with two arguments
- Bind arguments in parameter order
- Reject a missing argument
- Reject zero values in a binding initializer
- Reject a request with no argument
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Call a rest entry with one input
- Keep the remaining argument order
- Reject zero values at the external boundary
제품의 공통 인터페이스를 정합니다.
선택
타입이 있는 API를 제공하고, 명령 결과·종료 상태와 패키지 정체성, 진단 단계·안정된 코드를 제품 사이에서 공통으로 씁니다.
검토한 대안
run을 제품마다 달리 동작하게 하거나, 한도가 있는 제품과 없는 제품을 따로 제공합니다.저수준 API나 제약 없는 JSON만 제공합니다.
E 번호만 사용하거나, 진단을 자유로운 문구로 적습니다.
관련 명세
- Concrete command forms
- Common command outcomes
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Identify a failure by phase and code
- Bind an early report to source
- Preserve the first terminal cause
- Serialize typed diagnostic fields without coercion
- Numeric command status
- Resolve a common finite preset
- Fresh requests in interactive tools
- One explicit input and one result
- Prepare before evaluating
- Keep replay and evidence checks distinct
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Check the components of a package
- Preserve meaning across products
- Prepare a rule and evaluate an input
- Validate prepared programs
- Refuse unsupported requests before entry
- Compare the complete semantic outcome
- Verify evidence against its request and outcome
- Bind early preparation failures to their source
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Resolve the same default
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Evaluate after a failed request
- Reject guest input
- Report incomplete host input
- Reject malformed explicit limits
- Reject multiple boundary results
- Separate interrupted attempts
- Prepare without calling the entry
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Return one explicit input
- Compare a recorded result
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Refuse malformed explicit limits
- Reuse one immutable prepared rule
- Compare a value and a domain failure across products
- Reject a procedure at the result boundary
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject an excluded library operation
- Reject missing engine support
- Check the record that an envelope authenticates
- The same failure with different presentation
- A preparation failure before program identity exists
프로파일 선언의 형식을 정합니다.
선택
base와 vouch/2에는 닫힌 lispex.profile/2 선언을 사용합니다. 구조를 표현할 때에는 lispex.schema/2 스키마를 씁니다.
고정 라이브러리의 정체성과 공개 바인딩 허용 목록을 씁니다. 입력 레코드는 원문 문자열을 키로 받는 lispex.record/2 형식입니다.
검토한 대안
제품별 선언, 호스트 콜백 또는 열린 등록소를 사용합니다.
번역 인용
닫힌 선언은 모든 제품이 같은 순서로 검사할 수 있는 데이터입니다. 허용 범위를 좁혀도 언어의 평가 동작은 바뀌지 않습니다. 원본 문자열 키는 유니코드 이름과 채택한 레코드 대응을 보존합니다. 스키마와 키, 라이브러리를 조회할 때 호스트 코드를 호출하지 않습니다.
관련 명세
- Declare the complete profile contract
- Admit explicit records with string keys
- Use finite structural schemas
- Check record keys before field values
- Use the fixed base declaration
- Reject a narrowed declaration named base
- Inspect an excluded binding in an unselected branch
- Keep a source binding outside the library allowlist
- Qualify the same receipt with explicit evidence
- Reject duplicate record names before nested values
- Refuse a symbol as a host record key
- Lower explicit records to the same canonical input
- Keep a record wrapper ordinary at the Datum boundary
- Accept an exact enum result without coercion
- Reject an executable schema node
프로파일 거절을 종료 상태에 대응시킵니다.
선택
평가에 성공한 뒤 사용 검증이나 필수 증거가 거절되면 profile-refusal을 보고하고 정본 결과를 보존합니다.
나중에 호스트가 거절해도 평가 실패의 기존 분류는 바뀌지 않습니다.
검토한 대안
명령 성공으로 보고하거나, 평가 전 거절 형식을 재사용합니다.
프로파일 작업에 별도 예산을 둡니다.
선택
프로파일의 추가 스키마 검사와 증거 확인은 별도의 유한한 호스트 예산에 청구합니다. 정본 해독과 인코딩은 평가에서 계량합니다.
평가가 반환한 값은 평가가 끝난 뒤에 사용 검증을 받습니다. 원래 언어 결과는 보존합니다.
검토한 대안
프로파일 검사를 평가 중에 수행하고, 평가 예산에 청구합니다.
관련 명세
- Common command outcomes
- Numeric command status
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Validate data without coercion
- Keep source, program, and artifact identities separate
- Preserve the class of a failed attempt
- Report profile refusal after successful evaluation
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Lower explicit records to the same canonical input
- Compare separate profile work identities
프로파일 작업을 별도 계정으로 계량합니다.
선택
프로파일 호스트 작업은 work, allocation, frames, input, report, evidence 여섯 축을 가진 lispex.profile-work/2 계정 하나로 계량합니다. ProfileHostBudget은 호스트 자원 모델의 정체성을 메타데이터로 전달합니다.
프로파일 작업의 계정은 평가 계정과 분리합니다.
검토한 대안
평가 계수기를 공유하거나, 제품마다 계수기와 순회 순서를 정합니다.
번역 인용
같은 호스트 작업을 선언하면 첫 실패가 같습니다. 비용을 따로 세면 평가 정체성과 청구, 결과와 영수증 바이트가 보존됩니다. 종료 보고를 예약해 두면 호스트가 나중에 실패해도 이미 끝난 평가를 지울 수 없습니다.
관련 명세
- Bound all profile host work
- Inspect schemas in a fixed order
- Retain host charges through output qualification
- Keep the first simultaneous host shortage
- Preserve the receipt when evidence work exhausts its budget
- Keep authoritative input decoding before schema membership
- Reserve a complete terminal report before evaluation
- Complete record keys before field membership
- Charge every repeated schema occurrence
- Check a complete list spine before its members
프로파일 작업의 정체성을 따로 기록합니다.
선택
제출 데이터, 판이 정해진 프로파일 작업 계약과 유한한 프로파일 호스트 예산을 각각 식별합니다.
실행 전 거절에는 승인 보고를 쓰고, 평가 뒤의 사용 검증이나 증거 거절에는 프로파일 작업 보고를 씁니다. 정본 결과와 영수증 발급 자격은 그대로 유지합니다.
검토한 대안
프로파일 작업을 기본 요청에 포함하거나, 평가 정체성만 재사용합니다.
영수증과 실행 증거를 분리합니다.
선택
정본 결과와 실행 및 서명 증거를 분리합니다. 이식 가능한 영수증에는 work_used와 캐시 상태, 경과 시간을 넣지 않습니다.
검토한 대안
모든 실패를 게스트 예외로 처리하거나, 세부 내용을 감춘 호스트 오류로 처리합니다.
제품마다 기존 영수증을 확장하거나, 결과에 대해서만 해시를 구합니다.
관련 명세
- Concrete command forms
- Common command outcomes
- Keep condition meaning separate from display
- Preserve the first terminal cause
- Numeric command status
- Keep replay and evidence checks distinct
- Keep external facts and actions with Topaz
- Repeat the complete request
- Require conformance from a graph evaluator
- Keep source maps outside semantic identity
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Compare the complete semantic outcome
- Replay only the complete same request
- Verify evidence against its request and outcome
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Admit only a supported physical envelope
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Report an evaluation domain failure
- Report incomplete host input
- Separate interrupted attempts
- Report profile refusal after successful evaluation
- Stop an unending rule
- Compare a recorded result
- Replay a fact captured by Topaz
- Replay a failing request
- Replay a successful request
- Compare an independent graph evaluator
- Replay after source locations move
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- An admission report without an evaluation receipt
- A matching value from a different request
- Check the record that an envelope authenticates
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- A retained request without its resource model
- Receipts for a value and a language failure
- Replay both a value and a failure
- Repeat a terminal resource stop
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
재귀 바인딩에서 허용하는 형식을 정합니다.
선택
상호 재귀를 유지하도록 letrec의 오른쪽 식은 람다로 한정합니다. 이름 있는 let도 유지합니다.
검토한 대안
재귀 바인딩을 없애거나, 오른쪽에 일반 식을 허용합니다.
관련 명세
- Tie recursive names only to procedures
- Use named let for a recursive loop
- Transfer a tail result without retaining a caller frame
- Preserve dependencies and control flow
- Limit active semantic frames
- Read the complete module before normalization
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Use an internal recursive procedure
- Call another procedure in the recursive group
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- Reject a value initializer in letrec
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Inspect both branches and execute one
- Follow a recursive tail call
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Check recursive forms in source order
- Finish reading before checking recursive bindings
재실행 요청의 형식을 정합니다.
선택
재실행을 요청할 때 닫힌 레코드에 준비된 프로그램의 바이트, 정본 요청 전체의 바이트, 기대 영수증, 선택적 증거와 신뢰 자료, 별도의 유한한 호스트 예산을 담습니다.
비교 보고에는 두 영수증과 처음 달라진 항목을 기록합니다.
검토한 대안
현재 기본값으로 결과만 다시 계산하거나, 재실행 요청을 제품마다 따로 정의합니다.
번역 인용
명시해 보존한 데이터만으로 요청을 복원하면 결과가 같아도 달라진 한도나 의미 버전을 알아낼 수 있습니다. 공통 비교 기록에는 두 영수증과 처음 달라진 의미 항목이 남습니다.
관련 명세
- Encode the whole ordered comparison
- Replay an explicit complete recorded request
- Compare every canonical failure field
- Stop comparison at its first semantic difference
- Check expected evidence before entry
- Replay the same meaning through different artifacts
- Reproduce a failure without changing command meaning
- Refuse an incomplete recorded request
- Reconstruct every recorded semantic input
- Refuse a receipt for a different request
자원 축의 검사 순서를 정합니다.
선택
작업량과 논리 할당, 프레임, 해당 채널을 이 순서대로 검사합니다.
모든 검사를 통과할 때 청구와 효과를 함께 확정합니다. 앞서 확정된 청구는 보존합니다.
검토한 대안
일부만 청구할 수 있게 하거나, 자원 축의 검사 순서를 정하지 않습니다.
관련 명세
- Order the axes within one reservation
- Check a binding group before its children
- Choose the first insufficient axis at one event
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reserve only the next required check
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
자원 채널을 계량하는 방식을 정합니다.
선택
채널의 비용은 정본 바이트 단위로 셉니다. 최종 보고를 위한 비상 표현 전체를 미리 확보하고, 추적에서도 프레임 전체를 예약합니다.
진단이 늘어나거나 추적 공간이 차도 확정한 원인과 영수증은 보존합니다.
검토한 대안
호스트가 센 문자나 객체 또는 메시지 개수로 청구합니다.
원문 인용
같은 바이트를 같은 단위로 세고 진단 확장이나 trace 포화가 확정된 원인과 영수증을 바꾸지 않게 한다
관련 명세
- Count canonical channel octets
- Reserve one complete terminal representation
- Reserve whole trace frames in a separate account
- Count a multibyte string packet by octets
- Report an input refusal without inventing request identity
- Retain complete committed diagnostic bytes
- Keep a resource cause when ordinary diagnostics have no capacity
- Keep evaluation when a trace header cannot fit
- Reserve a trace marker and its length with the payload
자원 사건의 목록을 정합니다.
선택
닫힌 의미 사건 목록에서 검사와 예약 및 위치의 순서를 연산별로 정합니다. 원래 발생 위치와 타입이 있는 경로를 사용합니다.
캐시 사용과 네이티브 실행은 첫 실패, 고갈된 축, 오류 위치와 영수증을 보존합니다.
검토한 대안
호스트 명령 전체만 계량하거나, 호출 하나의 자원을 한 번에 예약합니다.
원문 인용
캐시와 native 경로를 넘어 첫 실패, 고갈 축, site, receipt를 보존한다
관련 명세
- Keep ingress, codec, and failure reservations explicit
- Use the ordered semantic event catalog
- Reserve source and prepared-program work in order
- Check callback results before result allocation
- Reserve a failure payload before committing a Condition
- Reserve every equality validation visit
- Bound graph export without executing the program
- Charge input decoding before request identity exists
- Finish list validation before a callback
- Initialize one module definition in event order
- Capture prepared bytes before validation reads
- Allocate rest pairs at the lambda site
- Reserve the complete result packet before emitting bytes
- Reserve a source precheck before inspecting it
- Reserve each octet integer and pair together
- Visit only the selected list components
- Reserve each constructed list position
- Read all lengths before append allocation
- Reserve each UTF-8 result component
- Keep the first invalid UTF-8 byte site
- Normalization scratch and stable ordering
- Original Final_Sigma context reservations
- Folded scalar and end comparisons
- Folded string result sites
- Folded operand retention
- Full mapping scratch reservations
- Unicode result scalar extents
- Decimal digit result reservations
자원 사건의 순서를 보존합니다.
선택
첫 오류와 먼저 고갈된 자원 축 및 위치를 정하고, 최적화를 거친 뒤에도 그대로 유지합니다.
검토한 대안
일부 평가 순서를 정하지 않거나, 순서를 자유롭게 바꾸도록 허용합니다.
명령 수에 잠정 가중치를 적용하거나, 경과 시간으로 비용을 셉니다.
네이티브 프로시저 205개를 각각 확인하거나, 다수에 특수 컴파일 변환을 사용합니다.
관련 명세
- Preserve the first terminal cause
- Report the first ordered failure
- Keep terminal failures outside guards
- Preserve meaning across products
- Evaluate the operator and arguments in order
- Evaluate only the selected expressions
- Transfer a tail result without retaining a caller frame
- Repeat the complete request
- Require conformance from a graph evaluator
- Keep original sites in grouped views
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Preserve evaluation across caches
- Qualify output separately
- Keep profile work separate
- Preserve meaning after admission
- Compare the complete semantic outcome
- Replay only the complete same request
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Order the axes within one reservation
- Keep checks and reservations in order
- Accept equality and reject an excess
- Count cumulative logical allocation
- Preserve the first exhausted axis and site
- Reserve before the semantic effect
- Limit active semantic frames
- Keep preparation and evaluation budgets separate
- Finish within finite limits
- Repeat the same semantic request
- Preserve meaning through normalization
- Validate lists before ordered callbacks
- Preserve library events through optimization
- Validate equality operands in a fixed order
- Transform data without changing it
- Map admitted records in canonical key order
- Use the fixed Unicode repertoire
- Separate interrupted attempts
- Stop an unending rule
- Keep the left argument failure first
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Compare a value and a domain failure across products
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop a nontail apply loop at its frame limit
- An operator failure comes first
- A sequence stops at its first failure
- Stop after the deciding operand
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Treat only false as false
- Leave the other branch unevaluated
- Replay a failing request
- Replay a successful request
- Compare an independent graph evaluator
- Group repeated expressions without losing sites
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve the first stop across caches
- Reuse preparation with the same result
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- An admission report without an evaluation receipt
- A matching value from a different request
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- A retained request without its resource model
- Receipts for a value and a language failure
- Replay both a value and a failure
- Repeat a terminal resource stop
- Keep discarded allocation charges
- Preserve evaluation work through preparation reuse
- Keep a domain check before later arithmetic work
- Stop before an additional nontail frame
- Preserve the stop through constant sharing
- Refuse a pair before its allocation effect
- Replace the frame in a tail loop
- Choose the first insufficient axis at one event
- Compare limits around the complete work charge
- Repeat a request after preparation
- Stop an unending rule
- Preserve a binding through conditional sugar
- Read both quotation forms as data
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Preserve a library domain failure
- Preserve the first library resource stop
- Visit pair and vector components in order
- Select the first invalid operand
- Keep the original list after construction
- Order exact keys and reject duplicates
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
- Reject vector mutation
자원 모델 정의의 순서를 정합니다.
선택
자원 명세에서 모델의 구성과 단계별 한도를 정합니다.
선행 의미와 기본 자원 축을 정한 뒤 해시로 모델 정체성을 구합니다. 해석된 예산을 감싼 값에 모델 메타데이터를 붙입니다. 모델 정의에는 자체 다이제스트, 파생 정체성, 결과, 영수증이나 증거를 넣지 않습니다.
검토한 대안
모델 정체성 자체나 그 파생 정체성을 모델 정체성의 해시 입력에 넣습니다.
자원 계정의 단위와 운용을 정합니다.
선택
작업 단위, 누적 논리 할당, 프레임과 채널 예산으로 비용을 셉니다.
효과가 생기기 전에 비용을 예약하고, 청구한 비용은 돌려주지 않습니다.
검토한 대안
공통
u32한도를 적용하거나, 지금의 크기와 할당 규칙을 유지합니다.호출별 할당만 계량하거나, 가비지 수집 뒤 메모리 비용을 돌려줍니다.
잠정 가중치를 붙여 명령 수를 세거나, 경과 시간을 사용합니다.
준비와 평가에 같은 예산을 쓰거나, 준비에는 비용을 청구하지 않습니다.
최종 전송 크기만 제한하거나, 출력이 너무 길면 잘라서 성공으로 보고합니다.
모든 실패를 게스트 예외로 전달하거나, 상세 내용이 없는 호스트 오류로 바꿉니다.
관련 명세
- Resolve a common finite preset
- Keep terminal failures outside guards
- Resolve finite limits before entry
- Transfer a tail result without retaining a caller frame
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Preserve evaluation across caches
- Prepare before evaluation
- Expand a final argument list with apply
- Collect remaining arguments in a list
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Preserve the class of a failed attempt
- Order the axes within one reservation
- Reserve channels and return one atomic outcome
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Count cumulative logical allocation
- Identify model data before resolving budgets
- Preserve the first exhausted axis and site
- Reserve before the semantic effect
- Limit active semantic frames
- Charge normative work
- Finish within finite limits
- Account for preparation separately
- Select the first component of a pair
- Apply every library check in a fixed order
- Use the exact numeric contract
- Validate complete list tuples before callbacks
- Preserve library events through optimization
- Classify every native operation explicitly
- Transform data without changing it
- Resolve the same default
- Reject malformed explicit limits
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop a nontail apply loop at its frame limit
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve the first stop across caches
- Reuse preparation with the same result
- Prepare without entering a rule
- Stop before issuing a prepared program
- Append list elements to explicit arguments
- Reject an improper final list
- Collect zero arguments
- Keep the remaining argument order
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- Repeat a terminal resource stop
- Keep discarded allocation charges
- Resolve the shared finite preset
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Meter work inside exact multiplication
- Stop before an additional nontail frame
- Preserve the stop through constant sharing
- Refuse a pair before its allocation effect
- Reject a result that exceeds its channel
- Replace the frame in a tail loop
- Keep a full trace separate from the result
- Choose the first insufficient axis at one event
- Reject an unlimited request
- Compare limits around the complete work charge
- Stop an unending rule
- Stop when preparation has insufficient budget
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Reject a required Deferred primitive
- Add exact decimal values
- Reject a missing primitive classification
- Preserve a library domain failure
- Preserve the first library resource stop
- Keep the original list after construction
- Reject vector mutation
나머지 인수 목록의 할당 위치를 정합니다.
선택
나머지 인수 리스트의 각 pair는 람다가 나타난 위치에서 할당합니다. 타입이 있는 경로는 result(0) 뒤에 인수 순서대로 element(i)를 붙입니다.
스키마에 새 필드를 추가하지 않습니다.
검토한 대안
호출자, 나머지 인수 바인딩 또는 새 경로 필드를 위치로 사용합니다.
정확한 반올림 연산을 정합니다.
선택
quantize는 정확한 정수라면 어느 자릿수든 받습니다. 모드는 floor, ceiling, truncate, away-from-zero, half-even, half-away-from-zero, half-toward-zero, exact의 여덟 가지입니다.
floor, ceiling, truncate를 인수 하나로 부르면 자릿수 0을 적용합니다.
결과는 정확한 정수나 기약 유리수입니다.
검토한 대안
인수 하나의 정수 반올림만 허용하거나, 음이 아닌 자릿수만 허용합니다.
번역 인용
정확한 격자 하나로 부호와 경계에서 값이 같은 경우를 모두 다룹니다. 음수 자릿수도 별도 수 체계를 요구하지 않습니다. 유한한 자원 한도로 계산이 커질 수 있는 범위를 제한합니다.
관련 명세
- Choose scale and rounding explicitly
- Check rounding arguments before numeric work
- Round on an explicit decimal grid
- Select a rounding mode and resolve every tie
- Apply every directed mode to both signs
- Use the named integer rounding procedures
- Choose the closest grid point away from ties
- Require a value already on the selected grid
- Use positive and negative decimal scales
- Reject invalid rounding calls in the declared order
- Observe an operand failure before rounding arity
- Reserve rounding work before selecting a result
- Resolve nearest ties and normalize zero
기본 샌드박스 계약을 정합니다.
선택
리스펙스는 샌드박스 안에서 규칙을 실행하는 언어입니다.
모든 프로그램에 동일한 기본 계약을 적용합니다. 같은 입력은 같은 결과를 내며, 프로그램에는 입출력·시각·난수를 암묵적으로 조회할 권한이 없습니다. 실행은 항상 끝나거나 정해진 오류를 알립니다.
이 보장은 바우치 검사 프로파일 밖에서도 적용합니다.
결정 당시 사용자가 없어서 전환에 호환 계층이나 유예 기간을 두지 않습니다.
이론상 최선의 구조로 빠르게 전환합니다.
호환성이 깨지는 변경을 담은 다음 출시는 메이저 버전 2.0으로 정합니다.
이 언어에는 토파즈의 설계 기준을 적용하지 않습니다.
샌드박스 계약과 맞는 R7RS의 익숙한 형식은 유지합니다.
R7RS 형식이 샌드박스 계약과 충돌하면 샌드박스 계약을 따릅니다.
별도 언어와 엔진인 lispex-sicp에는 이 결정을 적용하지 않습니다.
검토한 대안
기본 실행에 한도를 두지 않고, 바우치 프로파일에만 샌드박스 보장을 적용합니다.
관련 명세
- Fresh requests in interactive tools
- Preserve meaning across products
- Pass data across the host boundary
- Keep each binding unchanged
- Repeat the complete request
- Use the input of each new request
- Pass one input and receive one result
- Reject inexact numeric values
- Supply every dependency
- Use one base language
- Preserve meaning after admission
- Identify every semantic input
- Replay only the complete same request
- Resolve finite budgets before execution
- Pass outside facts as data
- Every program uses the sandbox contract
- Finish within finite limits
- Keep meaning when a profile admits a request
- Repeat the same semantic request
- Resolve only submitted source
- Evaluate after a failed request
- Reject a host callback as input
- Pass an exact value to a rule
- Compare a value and a domain failure across products
- Reject an assignment
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Return the first item
- Reject an explicit inexact literal
- Reject runtime dependency loading
- Reject a missing module
- Return a value in the base language
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- A retained request without its resource model
- Compare separate profile work identities
- Replay both a value and a failure
- Resolve the shared finite preset
- Reject an unlimited request
- Compare an admitted request across profiles
- Reject a request for the host clock
- Reject a host callback as input
- One datum through each product
- Repeat a request after preparation
- Supply a fact as an input datum
- Stop an unending rule
- Reject runtime source loading
시퀀스를 이어 붙일 때의 사건을 정합니다.
선택
vector-append와 bytevector-append는 모든 인수의 값 범위를 검사합니다. argument(i)와 field(length)에서 저장된 길이를 읽어 정확한 전체 결과를 예약한 뒤, 인수와 인덱스의 순서대로 원소를 방문합니다.
빈 입력도 길이를 읽는 순회에 넣습니다.
인수가 없으면 크기 0인 결과 하나를 할당합니다.
검토한 대안
길이를 읽는 비용을 세지 않거나, 결과를 예약하기 전에 각 인수를 복사합니다.
규칙의 입출력 경계를 정합니다.
선택
규칙의 진입점 하나가 Datum을 받아 Datum을 반환합니다.
게스트 입출력을 없앱니다. 호스트가 결과를 표시합니다.
검토한 대안
한도 안에서 출력 기록을 허용하거나, 게스트 코드에 출력 권한을 줍니다.
전역 입력과 표준 출력 관례를 계속 쓰거나, 임의 인수와 호스트 객체를 받습니다.
관련 명세
- Concrete command forms
- Common command outcomes
- One explicit input and one result
- Keep external facts and actions with Topaz
- Prepare a rule and evaluate an input
- Pass data across the host boundary
- Report an empty input as a failure
- Use the input of each new request
- Pass one input and receive one result
- Validate each declared entry
- Supply one input datum to the entry
- Return exactly one portable datum
- Select the declared root entry
- Pass an internal value sequence to its receiver
- Exchange exact canonical data
- Validate data without coercion
- Preserve meaning after admission
- Compare the complete semantic outcome
- Preserve the class of a failed attempt
- Reserve channels and return one atomic outcome
- Pass outside facts as data
- Public procedure contracts
- Keep executable values inside evaluation
- Report an operational failure exit
- Report a resource failure exit
- Return application decision data
- Report an evaluation domain failure
- Reject guest input
- Report incomplete host input
- Reject multiple boundary results
- Report profile refusal after successful evaluation
- Return one explicit input
- Reject a host callback as input
- Replay a fact captured by Topaz
- Pass an exact value to a rule
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Inspect the empty-list failure
- Use a new input after a failure
- Return the first item
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
- Encode equal rational results identically
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- An admission report without an evaluation receipt
- The same failure with different presentation
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject guest output
- Return nested data
- Reject an executable element in a result
잘못된 슬라이스 경계를 진단합니다.
선택
슬라이스의 양 끝이 각각 유효하지만 순서가 뒤집히면 domain.range에 invalid-slice-order를 담고, 끝값인 인수 2를 가리킵니다.
시작값을 확정한 뒤 끝값을 비교하는 단계에서 순서 오류가 납니다.
이 동작은 조건 명세의 규칙을 따릅니다.
검토한 대안
시작값 인수를 가리키거나 새 진단 코드를 만듭니다.
바인딩을 먼저 검사합니다.
선택
현재 도달한 바인딩 그룹을 왼쪽부터 얕게 검사한 뒤에 초기화 식과 본문 안으로 내려갑니다.
각 검사를 시작하기 전에 비용을 예약합니다. 예약이 거절되면 그 검사가 아직 발견하지 않은 오류보다 먼저 보고합니다.
검토한 대안
모듈 전체를 먼저 검사하거나, 하위 형식을 순회하면서 검사를 섞어 수행합니다.
원문 인용
앞선 형식의 오류를 보존한다. 필요한 검사 비용도 유한하게 통제한다. let*의 중첩 scope를 유지한다.
소스에서 실행 진입점을 정합니다.
선택
모듈에는 (entry Identifier)를 최대 하나 둡니다. 루트 모듈은 진입점을 정확히 하나 가집니다.
준비 중에는 실제로 내보낸 바인딩이 인수 하나를 받는 람다인지 정적으로 검사합니다.
특정 이름을 진입점으로 간주하거나 호스트가 내보낼 대상을 임의로 선택할 수 없습니다.
검토한 대안
관례적인 이름을 규칙의 진입점으로 삼거나, 호스트가 내보낼 항목을 고르게 합니다.
원문 인용
소스가 실행 경계를 고정한다. 준비 중 guest 실행이 없다. imported binding과 dependency 선언도 같은 검사를 받는다.
관련 명세
- Report an empty input as a failure
- Repeat the complete request
- Use the input of each new request
- Pass one input and receive one result
- Validate each declared entry
- Select the declared root entry
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect the empty-list failure
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Return the first item
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Reject a continuation capture attempt
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a dynamic cleanup attempt
- Collect zero arguments
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Bind arguments in parameter order
- Reject a missing argument
- Select an imported lexical procedure
- Reject zero values in a binding initializer
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Select an explicitly renamed entry
- Call a rest entry with one input
- Keep the remaining argument order
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
소스 준비의 순서를 정합니다.
선택
모듈 하나를 해독하고 끝까지 읽은 뒤에 소스 순서대로 정규화합니다.
검토한 대안
입력이 들어오는 동안 읽기와 검사를 번갈아 수행합니다.
관련 명세
- Check a binding group before its children
- Read the complete module before normalization
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Check recursive forms in source order
- Reserve only the next required check
- Finish reading before checking recursive bindings
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
준비 실패를 진단에 대응시킵니다.
선택
소스 읽기, 바인딩, 모듈 그래프, 진입점과 산출물 실패는 기존 진단 단계, 코드, 사유 및 타입이 있는 필드에 대응시킵니다.
새 코드나 사유는 추가하지 않습니다.
시험 자료에 세부 필드가 없으면 문서에서는 diagnosticIdentity만 연결합니다. 제품 진단은 기존 닫힌 스키마를 사용합니다.
검토한 대안
실패마다 새 코드를 추가하거나, 제품별 이름을 둡니다.
원문 인용
같은 실패가 모든 제품에서 같은 schema를 갖는다. 기존 읽기·정규화·해석·검증 순서와 자원 예약 순서를 그대로 보존한다 기존 기대 범위를 좁히거나 비용 모델 값을 만들지 않는다. 선택된 고정 계약이 정하는 필드는 그대로 그 계약을 따른다 같은 source의 같은 얕은 검사에서 같은 필드가 나온다.
관련 명세
- Source and preparation diagnostic mapping
- Preserve evaluation across caches
- Supply every dependency
- Import exported lexical bindings
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Keep one typed prepared graph
- Validate every prepared record
- Prepare before evaluation
- Return a sealed immutable handle
- Validate prepared programs
- Expand a final argument list with apply
- Reject continuation and dynamic handler procedures
- Validate each declared entry
- Supply one input datum to the entry
- Return exactly one portable datum
- Select the declared root entry
- Match fixed parameters to arguments
- Require one value where one value is consumed
- Resolve only submitted source
- Read numeric literals exactly
- Account for preparation separately
- Give literals exact values
- Check a binding group before its children
- Read the complete module before normalization
- Read one fixed syntax
- Reject invalid source before evaluation
- Decode exact UTF-8 source bytes
- Source forms, modules, and entry checks keep their identities
- Prepared failures share the closed schema
- Reader checks select existing families
- Preserve phase and first cause at resource limits
- Preserve the first stop across caches
- Reject a directed module cycle
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Stop before issuing a prepared program
- Keep the captured lexical binding
- Refuse incompatible fixed dependencies
- Reject malformed prepared bytes
- Keep runtime checks in evaluation order
- Check control edges and occurrence sites
- Stop validation before publishing a handle
- Reject an import of a private binding
- Collect one module import in one spec
- Reject a module importing itself
- Initialize an unimported supplied module
- Reuse immutable code with fresh evaluation state
- Reject an improper final list
- Reject two values in one argument position
- Reject a continuation capture attempt
- Reject a repeated entry declaration
- Reject a dynamic cleanup attempt
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Reject a missing argument
- Reject zero values in a binding initializer
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Reject a procedure result
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reject an inexact literal
- Reject malformed source octets
- Reject malformed literal values
- Check recursive forms in source order
- Reserve only the next required check
- Stop when preparation has insufficient budget
- Finish reading before checking recursive bindings
- Reject unlisted source syntax
- Check every recursive initializer head first
- Reject runtime source loading
- Reject an unfinished source form
소스를 읽는 문법을 정합니다.
선택
소스 전체를 엄격한 UTF-8로 해독한 뒤 읽습니다. 감싸지 않은 식별자에는 ASCII만 쓰고, 유니코드 이름에는 |...| 표기를 사용합니다.
구분 기호와 중첩 블록 주석, 재귀 Datum 주석, 스칼라 이스케이프와 정확한 진법·십진 표기를 정합니다. BOM의 자동 제거와 지시문은 허용하지 않습니다.
검토한 대안
호스트의 소스 읽기 규칙을 따르거나, 문자 분류로 감싸지 않은 유니코드 이름을 허용합니다.
원문 인용
host 문자 분류나 복구에 기대지 않는다. raw scalar 이름과 exact 값은 보존하며 사건 순서도 고정한다.
관련 명세
- Give literals exact values
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Read pair tails, vectors, and bytevectors
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
소스 토큰의 경계를 정합니다.
선택
U+0020과 U+0009, LF, CRLF를 토큰 구분자로 사용합니다. 줄 주석은 문자열 밖에서만 인식합니다.
그 밖의 소스 읽기 문법은 정해지지 않았습니다.
검토한 대안
호스트의 토큰 분리기를 사용합니다.
관련 명세
- Give literals exact values
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Read pair tails, vectors, and bytevectors
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Ignore a comment between forms
구조화된 조건을 사용합니다.
선택
오류에는 안정된 코드와 데이터가 있습니다. 어휘 범위가 정해진 guard에서 이 오류를 처리할 수 있습니다.
자원, 입력 승인과 실행 환경의 실패는 게스트 처리기 밖에서 실행을 끝냅니다.
검토한 대안
진단 메시지를 바꿀 수 없는 언어 값으로 고정하거나, 모든 오류를 처리기에서 잡지 못하게 합니다.
결과 값만 사용하거나, 기존 동적 예외 체계를 남겨 둡니다.
E 번호만 쓰거나, 정해진 구조 없이 진단 문구를 씁니다.
관련 명세
- Common command outcomes
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Identify a failure by phase and code
- Preserve the first terminal cause
- Serialize typed diagnostic fields without coercion
- Expose stable condition data
- Construct and inspect typed conditions
- Report the first ordered failure
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Reject dynamic condition control
- Propagate a structured condition
- Keep terminal failures outside guards
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Evaluate the operator and arguments in order
- Report an empty input as a failure
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Keep a quotient exact and reject zero divisors
- Prepare before evaluation
- Reject continuation and dynamic handler procedures
- Require one value where one value is consumed
- Compare the complete semantic outcome
- Bind a receipt to the request and outcome
- Bind early preparation failures to their source
- Preserve the class of a failed attempt
- Reserve channels and return one atomic outcome
- Keep checks and reservations in order
- Admit only a supported physical envelope
- Finish within finite limits
- Reject invalid source before evaluation
- Select the first component of a pair
- Validate lists before ordered callbacks
- Compare only scalars with eq? and eqv?
- Validate data before returning structural equality
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Report incomplete host input
- Separate interrupted attempts
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Reject a continuable signal
- Keep the left argument failure first
- Reject invalid host input before the guard
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Reject a removed operation before evaluation
- Recover from an empty pair input
- Handle a recovery failure in the outer guard
- End an unending guarded calculation
- Preserve lexical scope and internal values
- Require one test and recipient value
- Return the successful body value
- Pass an unmatched condition outward
- Reject a procedural handler
- Propagate the caught condition
- Reject dynamic cleanup
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- An operator failure comes first
- Inspect the empty-list failure
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Keep one third exact and reject division by zero
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject two values in one argument position
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Reject zero values in a binding initializer
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- Receipts for a value and a language failure
- Repeat a terminal resource stop
- A preparation failure before program identity exists
- Keep a domain check before later arithmetic work
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Stop an unending rule
- Reject an unfinished source form
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Reject aggregate operands for scalar equality
- Compare separately constructed lists
- Compare scalar values
- Reject a procedure inside shared data
- Check the whole data domain
거짓으로 판정하는 값을 정합니다.
선택
#f만 거짓으로 판정합니다.
검토한 대안
불리언 값만 조건으로 받거나, 0과 빈 리스트도 거짓으로 판정합니다.
타입이 있는 프로파일 승인 인터페이스를 둡니다.
선택
Rust와 TypeScript, C에서 레코드 승인과 프로파일 평가를 명시적으로 감싸는 인터페이스를 제공합니다. 승인 단계에서는 평가 영수증이 생기지 않습니다. 평가 호출 하나에서 입력을 한 번 해독하고 호스트 스키마를 검사합니다.
검토한 대안
저수준 연산과 콜백을 추가하거나, 이어서 실행할 상태를 공개하거나 입력을 다시 해독합니다.
유니코드 연산을 정합니다.
선택
유니코드 17.0.0을 기준으로 고정합니다. 이름 있는 연산 26개와 NFC, NFD, NFKC, NFKD를 정합니다. 문자 단위 단순 대소문자 변환, 문자열 단위 전체 변환, 튀르크어 특례를 쓰지 않는 기본 접기를 지원합니다.
변환을 시작하기 전에 모든 인수를 검증합니다.
검토한 대안
ASCII만 다루거나, 단순 대소문자 변환과 NFC만 다룹니다.
번역 인용
고정한 데이터는 호스트 기본값에 기대지 않습니다. 명시적인 변환은 원래 스칼라를 보존합니다. 문자열 전체를 다루는 알고리즘은 유니코드의 문맥과 확장을 처리합니다.
관련 명세
- Use default simple and full case algorithms
- Normalize only through the requested form
- Use the fixed Unicode repertoire
- Preserve full expansions and original context
- Compare explicitly folded scalar sequences
- Normalization scratch and stable ordering
- Choose canonical and compatibility normalization
- Original Final_Sigma context reservations
- Folded scalar and end comparisons
- Folded string result sites
- Folded operand retention
- Full mapping scratch reservations
- Use the frozen character properties
- Unicode result scalar extents
- Preserve scalars with default mappings
- Decimal digit result reservations
- Validate every argument before Unicode work
유니코드 스칼라의 의미를 정합니다.
선택
원본 스칼라를 보존합니다. 유니코드의 버전과 각 연산의 정확한 의미를 정합니다.
검토한 대안
근사 동작을 그대로 두거나, 식별자에 NFC를 강제합니다.
문자를 없애거나 ASCII 문자만 지원합니다.
관련 명세
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Validate data without coercion
- Reject malformed and alternate encodings
- Give literals exact values
- Preserve source spelling
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Use the complete public procedure catalog
- Use the specified text semantics
- Use default simple and full case algorithms
- Normalize only through the requested form
- Preserve Unicode scalar sequences
- Map admitted records in canonical key order
- Use the fixed Unicode repertoire
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Read pair tails, vectors, and bytevectors
- Keep two Unicode spellings distinct
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Preserve text inside a string
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Ignore a comment between forms
- Keep different scalar sequences distinct
- Preserve full expansions and original context
- Compare explicitly folded scalar sequences
- Choose canonical and compatibility normalization
- Distinguish exact text sequences
- Order exact keys and reject duplicates
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
UTF-8을 변환할 때의 할당 사건을 정합니다.
선택
utf8->string은 해독한 스칼라마다 result(0), scalar(j)에서 할당 1을 예약합니다. string->utf8은 인코딩한 바이트마다 result(0), byte(j)에서 할당 1을 예약합니다.
결과가 비어 있지 않은 변환에 성공하면 마지막 할당 뒤 정해진 끝 위치를 방문합니다.
결과가 비어 있으면 정해진 끝 위치를 방문한 다음 result(0)에서 0을 한 번 예약합니다.
검토한 대안
변환을 마친 후 비용을 청구하거나, 빈 결과의 할당을 생략합니다.
잘못된 UTF-8의 조건을 정합니다.
선택
utf8->string이 잘못된 UTF-8을 받으면 domain.range의 닫힌 필드만 사용합니다. 연산, 바이트벡터를 받는 인수 0, 사유 invalid-utf8을 제공하고 바이트 위치는 담지 않습니다.
이 사유 때문에 공통 스키마를 바꾸지는 않습니다. 규칙은 입력 바이트벡터를 훑어서 위치를 알아낼 수 있습니다.
검토한 대안
Condition에 바이트 위치를 추가하거나, 그 위치를 문서의 비규범적 관측으로 둡니다.
잘못된 UTF-8을 처음 검출한 위치를 기록합니다.
선택
검사한 접두부가 유효한 최단 UTF-8 스칼라의 시작일 수 없음을 처음 확정하는 바이트의 sequence-step을 거절 위치로 씁니다.
E0, ED, F0, F4의 둘째 바이트 제약도 처음 판정할 수 있는 바이트에서 확인합니다.
열이 잘렸으면 다음 바이트가 필요했던 끝 위치를 가리킵니다.
조건의 필드는 바꾸지 않습니다.
검토한 대안
열의 시작 바이트를 오류 위치로 보고하거나, 첫 잘못된 바이트 뒤에도 읽습니다.
코덱의 바이트 좌표를 정합니다.
선택
바이트 좌표는 내부 대상의 시작 위치를 기준으로 셉니다.
Datum 문법에 정의된 integer, numerator, denominator, length, count, tag, payload, scalar, frame-length 같은 필드 이름을 사용합니다.
수의 각 자리는 필드의 첫 바이트를 0으로 하여 셉니다.
문자열은 scalar(i) 아래의 byte(j)를 해당 스칼라의 첫 바이트에서 0부터 셉니다. 바이트벡터에서는 페이로드의 첫 바이트부터 0으로 셉니다.
패킷의 매직 값과 출력 바이트는 패킷의 시작을 기준으로 위치를 기록합니다.
값을 해독할 때 codec-byte에 바이트 단계를 둡니다.
바이트를 방문하지 않는 사건에는 바이트 단계를 붙이지 않습니다.
Datum이 필드와 스칼라의 시작 위치 및 상대 좌표를 직접 제공합니다. 해독과 크기 측정과 출력에서 이 좌표를 공통으로 씁니다.
구체적인 정체성 벡터를 보존합니다.
선택
정체성 비교 예제는 해시 입력, 다이제스트와 IdentityBytes의 정확한 바이트 구간을 포함합니다.
바이트가 같다는 사실만으로 의미까지 검증하지는 않습니다. 해시 입력을 확인할 수 없는 라이브러리, 모델, 프로그램의 정체성은 검증 완료로 표시하지 않습니다.
검토한 대안
기호 값만 쓰거나, 구현 출력을 기대값으로 복사하거나, 검사하지 않은 주장을 검증 완료로 표시합니다.
관련 명세
- Identify the validated canonical module meaning
- Encode the whole ordered comparison
- Keep source, program, and artifact identities separate
- Use separated SHA-256 identity domains
- Canonical outcome fields
- Portable receipt bytes
- Bind each request to its complete inputs
- Compare exact request bytes before semantic verification
- Compare every canonical failure field
- Stop comparison at its first semantic difference
- Identical octets keep distinct identity domains
- A duplicate module table has only captured provenance
- Reader escapes keep one decoded module name
- Reject a failure site from another program
- Two spellings of the same program
전달 패킷을 고정하는 시점을 정합니다.
선택
주 결과의 첫 바이트가 전송되면 선택한 패킷과 직렬화한 상태는 고정됩니다.
그 패킷의 남은 바이트만 보냅니다. 상태 50으로 바꾸려면 전송된 양이 0이고 대기 중인 쓰기가 없음을 확인합니다. 완전한 정본 후보를 갖추고 연산, 명령과 제출이 같으며, 완료된 성분과 미리 확보한 지원 범위가 유지될 때만 교체합니다.
검토한 대안
첫 바이트를 보낸 뒤 전송을 다시 시작하거나 패킷을 교체하거나 패킷을 더 보냅니다. 또는 로컬 계수기 값이 0이라는 이유만으로 패킷을 교체합니다.
개발용 자원 모델을 정합니다.
선택
개발 모델의 후보 이름은 temporary-embedding-20261117/1입니다.
정의를 검사하고 해시한 뒤, FixedSelection에 계약의 완전한 IdentityBytes를 넣습니다.
새 제품은 바이트 배열 [2;32]를 거절합니다.
기존 첫 단계 컴포넌트의 Laboratory 의미와 이전 실험 선택은 유지합니다. 착지 검사에서 정체성 차이가 0이어야 합니다.
개발 옵션을 끄면 이 모델의 사용을 거절합니다.
비상 결과의 프레이밍을 정합니다.
선택
완전한 CommandResult는 Reports.terminal에 최소 EmergencyTerminalBytes를 담습니다. 복사와 직접 프레이밍으로 얻은 바이트는 같습니다. 일반 작업에 앞서 종료와 프레이밍에 필요한 저장소, 커서와 직렬화 작업량을 예약합니다.
뒤이은 사용 검증과 증거 작업에도 첫 원인과 상태 20 및 21을 보존합니다.
검토한 대안
바이트 용량만 예약하고 실패한 뒤 커서와 작업량을 확보하거나, 첫 원인을 덮어씁니다.
평가기 설치의 승인 조건을 정합니다.
선택
load(bytes)는 빌드가 만든 설치 카탈로그의 정확한 sha256, ABI, 기능 집합, 물리 경계와 고정 선택을 확인한 경우에만 인스턴스를 만듭니다.
호출자가 정한 expectedHash만으로 모듈을 승인할 수 없습니다.
다이제스트가 맞지 않거나, 형태가 같은 다른 모듈을 받거나, 바이트 하나가 바뀐 경우에는 거절합니다.
고정 명령의 버퍼 한도를 정합니다.
선택
후보는 입력에 4 KiB, 출력에 256 KiB, 외부 비상 패킷에 16 KiB, 직렬화 임시 공간에 16 KiB를 예약합니다. 작업량 100,000과 커서 2개도 예약합니다.
요청을 읽기 전에 예약합니다. 예약할 수 없으면 평가기를 호출하지 않습니다.
완성된 산출물과 보고의 실측 최대 길이를 바탕으로 출시 한도를 확정합니다.
고정 라이브러리와 유니코드의 정체성을 정합니다.
선택
실제 네이티브 항목과 게스트 정의를 기존 투영과 검증에 넣어 라이브러리 정체성을 구합니다. 시험 자료의 다이제스트를 상수로 쓰지 않습니다.
유니코드 지원 계약은 17.0.0 버전, 생성 입력 및 실제 표를 함께 고정합니다.
새 제품은 바이트 배열 [1;32]를 거절합니다.
FixedSelection의 language, library, model, unicode 값 네 가지가 설치 카탈로그와 정확히 일치해야 합니다.
라이브러리와 유니코드의 고정 선택은 개발 자원 모델의 선택과 함께 적용합니다.
초기 준비 한도를 정합니다.
선택
소스는 이름이 main인 모듈 1개와 전체 1,024바이트로 제한합니다. PrepareLimits.frames는 64로 제한합니다. 초기 작업량과 할당 한도는 각각 10,000,000입니다.
신뢰된 입력 경계에서 소스의 바이트 길이를 확인한 뒤에만 복사하거나 해독합니다.
깊이가 한도를 넘으면 소스를 읽을 때 쓰는 기존 프레임 거절을 반환합니다. 자바스크립트에서 언어를 별도로 토큰화하지 않습니다.
준비 한도는 길이 352바이트, 깊이 8인 첫 규칙을 기준으로 정했습니다.
검토한 대안
8 KiB와 프레임 256개를 한도로 씁니다.
원문 인용
얕고 넓은 8 KiB 입력이 약 133 MiB를 썼다
정체성 해시 작업의 거절을 분류합니다.
선택
identity-work-before-refusal은 선택한 base/2 프로파일의 입력 승인에서 호스트 작업량이 소진된 경우입니다. admission/profile.budget과 축 work, 상태 30을 씁니다. 사용 검증과 증거는 각 단계의 profile.budget을 쓰고, 독립 검증은 verify/verification.budget을 씁니다.
검토한 대안
해시 보조 함수에 전역 단계를 부여하거나, 거절을 EvaluationLimits 또는 input.resource로 바꿉니다.
중단과 트랩을 보고하는 방식을 정합니다.
선택
중단된 게스트 밖의 감독기가 미리 구성한 완전한 CommandResultBytes를 반환합니다.
취소와 운영 시한 초과에는 host.interrupted와 상태 50을 씁니다. 확인한 엔진 트랩과 결함에는 engine.defect와 상태 51을 씁니다.
이미 분류할 수 있는 할당 거절에는 기존 호스트 용량과 물리 경계의 분류를 적용합니다.
트랩이 모두 언어 의미의 자원 거절로 분류되지는 않습니다.
빌드할 때 제품 인코더로 보고 형식을 구성합니다.
확인된 사실만 보고에 담습니다.
종료 보고에는 검증한 정체성만 담습니다. 추정한 정체성은 제외합니다.
라이브러리 이미지의 정체성을 정합니다.
선택
검증한 그래프와 커널 선언으로 닫힌 정본 라이브러리 이미지 하나를 만듭니다.
평가기 빌드와 패키지 조립은 같은 이미지 바이트를 사용합니다. 평가기는 이미지에서 검증한 LibraryInput을 얻습니다.
외부에서 다시 계산할 수 있도록 ArtifactIdentity의 종류와 판이 정해진 형식을 공개합니다.
평가기는 내부 인코딩을 드러내지 않는 이미지 계약을 사용합니다. 토파즈는 이미지 전체의 정체성을 검사합니다.
기존의 의미상 LibraryIdentity를 유지합니다.
검토한 대안
평가기 뒤에 이미지 바이트를 덧붙이거나, 실행과 포장에 서로 다른 원천을 사용합니다.
원문 인용
실행에 쓰인 라이브러리가 그 이미지에서 왔음을 증명하지 못한다
네이티브 호스트 작업의 기본 설정을 정합니다.
선택
네이티브 호스트 작업은 lispex.profile-host-budget/2를 씁니다. 자원 축은 work, allocation, frames, input, report, evidence입니다.
성공한 호스트 출력이나 일반 보고의 인코딩 전체는 report에 청구합니다. 처리한 완전한 증거 패킷은 바이트 단위로 evidence에 청구합니다.
증거를 읽지 않는 변환에는 증거 작업 비용을 청구하지 않습니다.
일반 채널에서 거절이 나면 선언해 둔 별도 물리 공간에서 비상 보고를 반환합니다.
토파즈의 호스트 작업 API에서 report와 evidence 축을 설정할 수 있습니다.
응용 시작과 명시적 패키지 승인에서는 기존 Open 자원 축 여섯 개를 별도 타입으로 받습니다.
토파즈가 해당 타입과 패키지 승인 및 읽기 계약을 정합니다.
빌드는 지원 대상과 계약별 판을 각각 선언합니다.
선언은 자원 모델의 정의와 정체성, 지원 계약, 여섯 자원 단위, 표현 범위와 유한한 기본값을 제품 튜플에 묶습니다. 물리 수용 범위와 지원 여부도 같은 튜플에 묶습니다.
기본 축과 모델 정의에서 먼저 모델 정체성을 구한 뒤에 유효 예산에 메타데이터를 붙입니다.
설치 매니페스트에 선언의 정확한 바이트를 결합하고, 별도로 승인된 고정값으로 확인합니다.
그 선택에서는 호출자가 명시한 예산을 검사한 뒤 그대로 적용합니다.
대상에 따라 지원하지 않는 작업은 명시적으로 선언합니다.
개발 공급에서는 자원 수치와 단위를 독립적인 호스트 호출로 관측할 수 있으므로, 버전이 정해진 선택을 첫 근거로 삼습니다.
코덱·보고·증거의 요구량 함수는 사건의 순서와 단계의 우선순위에서 구합니다. 유한한 기본 한도는 정상 요청과 경계 요청, 최악의 확대량과 물리 용량을 반영합니다.
계수는 cost-model-freeze.1에 따라 일반 2.0 요율로 확정합니다.
값 변환을 검증한 대상과 계약만 지원한다고 선언합니다. 실제 진입점이 증거 바이트와 보고 한도를 집행할 때 증거 작업을 지원합니다.
검토한 대안
diagnostics의 바이트를 증거로 취급하거나,Open의 기본값을 복사하거나, 증거를 일곱째 자원 축으로 즉시 추가합니다.원문 인용
`diagnostics`를 증거 바이트로 해석하면 예산을 읽는 호출자는 진단 한도를 내렸는데 서명·증거 입력 제한이 바뀐다. Open 값을 복사하면 시작 승인 예산이 바뀔 때 다른 호출의 기본값이 달라진다. 별도의 일곱째 `evidence` 축을 즉시 추가하면 리스펙스의 고정 여섯 축과 순서를 재설계해야 한다. 현재 Profiles의 보고·증거 분리가 두 사용자 효과를 이미 표현한다.
출시에 포함할 네이티브 커널을 정합니다.
선택
감사를 통해 최종 네이티브 커널에 남길 기본 연산을 정합니다.
현재 네이티브 개발 등록소와 라이브러리 이미지의 의존성 폐쇄를 출발점으로 삼습니다.
공개 의미와 순서, 자원 사건과 계정 경계를 보존할 수 있는 파생 연산은 게스트에 둡니다.
검토한 대안
개발 등록소 전체를 승인하거나, 감사를 거치지 않고 항목을 더 적게 고릅니다.
원문 인용
구현 편의를 최종 승인 범위에 들인다 필수 의존성과 계량 경계를 잃을 수 있다
판 이력
후속 ·
공개 프로시저 149개는 네이티브 145개와 게스트 4개로 구성됩니다.
네이티브 분류는
Fixed36개,Precharged1개,Incremental98개,GuestCalling10개입니다.지원에 필요하면서 분류가 없는 프로시저와
Deferred는 각각 0개입니다.게스트 프로시저는
caar,cadr,cdar,cddr입니다.확정 목록은
lispex.claim.v2.standard-library.primitive-classification의result.kernelAudit에 있습니다.게스트 코드로 새로 옮긴 항목은 0개입니다.
일반 게스트 호출과 네이티브 호출은 매개변수에 들어갈 때 다른 자원 사건을 일으킵니다.
(not #f)와 같은 값을 내는 게스트 정의에서는 네이티브 경로의argument-check위치에environment-create가 있었습니다.대체하는 구현은 사건의 순서와 정본 위치를 모두 보존해야 합니다.
명세 실행기는 빌드가 만든 등록소와 검증된 라이브러리 이미지 전체를 명세와 대조했습니다. 149개 항목의 사건과 결과, 영수증을 관측했습니다.
관측된
LibraryIdentity다이제스트는d0e22f7fc1200cc2fe4ad65dd67a477a178bdf347a7a5b15293febf74882add2입니다.네이티브 커널 감사일은 2026-11-28입니다.
일반 모델의 수치, 물리 경계와 출시 대상 검증, 토파즈 공급은 각각 별도의 결정과 관측으로 다룹니다. 출시 제품의 증거가 생길 때까지
lispex.pending.v2.standard-library.kernel-and-cost-model은 미결로 남습니다.
네이티브 Load와 Export의 지원 범위를 정합니다.
선택
Load와 Export를 지원하는 별도 네이티브 개발 선택에서 두 기능을 제공합니다.
이 선택에는 새 물리 설치 경계와 독립된 개발 자원 모델 정체성을 부여합니다.
신뢰된 입력 한도는 지원하는 원본 준비 페이로드, 한도가 있는 선택적 SourceMap, 정본 컨테이너와 lispex.host/2 프레이밍에서 계산합니다. 연산을 읽기 전에 명령 전체의 스냅숏, 해독 저장소와 완전한 거절 응답을 확보합니다. 그 뒤 더 좁은 소스·평가 입력 한도와 Load 전용 승인 한도를 적용합니다.
Load의 준비 비용에는 원본 페이로드와 필수 검증이 포함됩니다. 호출자가 더 낮은 한도를 주면 그 한도를 적용합니다.
기존 요율 계산과 값, 유니코드, 라이브러리의 의미를 보존합니다.
모델 정체성은 프로그램 정체성에 포함됩니다. 이전 설치에서 준비한 프로그램은 각자의 정체성을 그대로 유지합니다.
검토한 대안
명령 입력 4,096바이트와 준비 입력 1,024바이트의 한도를 그대로 둡니다. 또는 Open의 입력 예산을 빌리거나 파일과 조각에 다른 경로를 두거나, 고정 규칙 모델과 물리 경계의 한도만 올립니다.
원문 인용
실제 설치에서 성공한 Prepare의 `resolved/1` payload가 6,746 octet이라 Load할 수 없다 기존 ABI와 준비 입력 청구를 우회한다 아틀라스가 쓰는 계약의 내용이 바뀐다
네이티브 Open의 승인 한도를 정합니다.
선택
네이티브 2.0 개발 공급물은 Open과 시작 승인을 제공하며 OpenLimits를 반드시 받습니다.
닫힌 2.0 Datum 레코드는 allocation, diagnostic, frames, input, result, work를 담습니다.
각 필드는 선택한 표현 범위 안의 정확한 음이 아닌 정수입니다.
0은 다른 값으로 바꾸지 않고 그대로 적용합니다.
패키지를 읽기 전에 빠지거나 추가된 필드, 타입이 맞지 않거나 표현 범위를 벗어난 필드를 거절합니다.
Open과 첫 네이티브 실행 세션이 모두 필요한 run은 실행 세션 준비까지 마친 뒤에 시작 성공을 보고합니다. Open만 호출하면 설치의 수용 가능 여부를 검사한 뒤 Product를 반환합니다. 나중에 실행 세션 생성이 실패하면 별도 실패로 처리합니다.
설치 카탈로그는 native-open-admission/1 모델 정체성과 지원 증거를 기존 Open의 물리 경계와 정확한 설치 튜플에 연결합니다.
모델은 사건, 요율, 프레임, 채널, 표현 범위와 거절 스키마를 정합니다.
호출자 한도는 별도 승인 계정에 적용합니다. Open 물리 경계와 게스트 모델 정체성, 명령 입력 및 Prepare·Load·Evaluate 한도는 유지합니다.
여섯 축을 모두 집행한 경우에만 시작 승인으로 기록합니다.
호환 진입점을 유지하는 경우 설치 기본값도 같은 승인 경로로 해석합니다.
레코드 검사를 끝낸 뒤에는 패키지 검증 순서를 그대로 유지합니다.
효과가 발생하기 전에 작업량, 할당, 프레임, 해당 채널 순서대로 검사하여 사건의 비용을 원자적으로 예약합니다.
물리 경계에서 거절하면 host.envelope를 사용합니다.
유효한 호출자 한도 중 처음 고갈된 축에는 승인 단계인 admission에서 host.admission-resource를 보고합니다.
닫힌 데이터에는 contract, 처음 고갈된 축인 axis, Open을 나타내는 stage를 담습니다.
비상 거절은 독립된 물리 저장소를 사용합니다.
실패하면 Product, 준비 핸들, 부분 성공, 평가 결과 또는 영수증을 반환하지 않습니다.
공급자 증거에는 승인 모델과 입력 및 설치의 정확한 정체성, 실제 응답을 담습니다.
아틀라스 고정 설치에는 기존 제품 검사를 계속 적용합니다.
검토한 대안
물리 메모리와 깊이, 연료를 논리 축 여섯 개로 다시 부르거나, 공급자 검사를 반복한 뒤 작업이 끝나면 총량을 비교합니다.
원문 인용
둘 다 원래 진단 순서와 계정 소유권을 잃는다.
패키지 Open의 물리 한도를 정합니다.
선택
패키지 Open에는 전용 물리 경계를 적용합니다.
이 경계는 명령의 4,096바이트 입력 한도, 준비·평가의 의미상 한도, 기존 호스트의 부팅·로드 시한과 독립입니다.
신뢰된 설치 카탈로그가 입력 바이트와 해독 작업량, 노드와 메모리, 완전한 거절 보고의 상한을 정합니다. 이 상한은 정확한 호환 설치 튜플과 함께 Open 물리 경계의 정체성에 포함됩니다.
Open은 입력을 읽기 전에 이 한도에 해당하는 자원을 예약합니다.
입력 바이트가 한도 안에 있어도 중첩 바이트벡터가 검사를 거치지 않은 할당을 일으킬 수 없습니다.
이 경계는 게스트 명령의 입력 한도, 준비와 평가의 한도, 아틀라스의 부팅·로드 시한을 바꾸지 않습니다.
검토한 대안
명령의 입력 한도를 그대로 쓰거나 높이거나, 패키지가 선언한 길이로 자체 승인 한도를 정하게 합니다.
원문 인용
현행 평가기 WASM만 1,983,121 octet이라 정상 패키지를 거절한다 아틀라스 고정 규칙 계약과 자원 모델 정체성이 함께 바뀐다 입력이 자기 입장 자원을 정한다
출력 전체의 비용을 미리 예약합니다.
선택
이름을 붙인 레코드와 필드 전체의 출력 크기를 잽니다. 전량을 예약한 뒤 물리 공간을 할당하고, 모든 바이트를 쓴 뒤 공개합니다.
변환에 필요한 임시 공간은 미리 예약한 호스트 계정에서 쓰며 게스트 결과 계정에는 청구하지 않습니다.
검토한 대안
예약 전에 할당하거나 출력을 두 번 청구하거나 일부만 채운 레코드를 내보냅니다.
준비 보고의 형식을 정합니다.
선택
금지된 의존 형식을 lispex.preparation-report/2에서 lispex.prepare-report/2로 바로잡습니다.
이전 형식의 별칭은 제공하지 않습니다.
준비 요청의 증인을 남깁니다.
선택
prepare_request는 불변 준비 입력, 빠짐없는 유한 한도, 확인한 고정 유니코드·라이브러리·모델 증인과 정해진 한도 안에서 끝난 해시를 갖춘 경우에만 만듭니다.
해당 지점에 이르기 전에 실패하면 요청 증인을 남기지 않습니다.
이후 준비가 실패해도 이미 완료한 봉인은 보존합니다. expected_program은 값의 허용 범위만 검사한 주장으로 남습니다.
검토한 대안
완성해 검증한 프로그램만 증인으로 인정하거나, 일치하지 않는 주장을 확인 초기에 폐기합니다.
출시용 자원 모델의 단위를 정합니다.
선택
일반 2.0 작업량은 기존 사건 요구량 함수와 명세가 정한 의미 피연산자로 계산합니다.
논리 할당량의 후보는 정본 페이로드의 바이트 수, 고정 논리 헤더와 슬롯, 정수 조각의 고정 논리 폭을 합해 구합니다.
물리 sizeof와 할당기의 여유 공간, 경과 시간, 캐시, 물리 정수 워드 폭은 의미 요율에서 제외합니다. 동시에 살아 있는 지정 프레임과 각 채널의 완전한 패킷은 계량합니다.
후보는 각 사건의 효과와 임시 공간, 요구량 계산 자체에 상한을 둡니다.
의미상 같은 요청은 대상이나 공유·캐시·준비 형식이 달라도 해석된 모델에서 같은 동작을 합니다.
지원하는 최소 물리 경계에서 의미상의 정지보다 물리 트랩, 메모리 부족 또는 연료 중단이 먼저 일어나는 후보는 거절합니다.
검증이 끝나면 기본 축 데이터와 모델 정의 전체를 먼저 확정합니다. 그 뒤 새 ResourceModelIdentity를 계산합니다.
정수 조각의 논리 폭, 헤더와 슬롯 크기, 계수, 표현 범위, 기본 한도를 확정합니다.
현재 상한과 제품 간 증거가 갖춰지기 전에는 수치를 확정하지 않습니다.
네이티브 개발 호스트 모델과 아틀라스 고정 모델의 정체성은 그대로 유지합니다.
검토한 대안
모든 사건에 같은 비용을 청구하거나, 경과 시간 또는 물리 바이트를 세거나, 이동 평균만으로 요율을 맞춥니다.
원문 인용
한 사건마다 같은 값을 쓰면 입력의 증폭을 가격에 반영할 수 없다. 실행 환경의 시간이나 실제 bytes를 규범 요율로 쓰면 대상과 allocator가 바뀔 때 같은 요청의 정지점이 달라진다. 이동 평균만으로 계수를 정하면 드문 최악 비용이 상계를 넘어갈 수 있다.
출시용 선예약에 필요한 조건을 정합니다.
선택
출시 후보가 요구량 함수를 채택하려면 선행 조건 세 가지를 충족해야 합니다.
검증된 그래프에서 어휘 범위에 따른 직접 접근을 구합니다. 지역 값은 소유 프레임까지의 거리와 슬롯을, 전역 값은 직접 슬롯을 사용합니다.
선언한 슬롯을 바로 초기화합니다. 읽을 때는 중간 슬롯을 훑지 않고 검증된 바깥 프레임까지 이동합니다.
규범 요구량에는 거리만 입력으로 사용할 수 있습니다.
이 계획은 전달 패킷, 정본 위치, ProgramIdentity와 준비 형식을 바꾸지 않습니다. 소스, resolved/1, bytecode/1에서 같은 계획을 얻습니다.
의미 위치를 기술하는 형식과 위치를 인코딩하는 작업을 분리합니다.
비용을 예약할 때 모델이 크기를 계산할 수 있는 좌표나 한도가 정해진 커서를 전달합니다.
예약 결과를 내보낼 때 위치 바이트 전체를 만듭니다.
정상 위치와 거절 위치, 첫 거절을 출력하는 작업량과 임시 공간은 승인된 단계별 물리 경계 안에서 예약합니다.
준비·평가·호스트 계정의 자원은 서로 빌려 쓰지 않습니다. 코덱에도 같은 규칙을 적용합니다.
수치를 확정하기 전에 최소 지원 환경의 메모리와 스택, 연료가 한도 벡터와 어떤 관계를 갖는지 정합니다.
지원할 수 없는 한도 벡터는 의미 실행 전에 거절하고, 요청받은 원래 한도를 기록합니다.
검토한 대안
접근할 때마다 전역 최댓값을 청구하거나, 탐색한 뒤 실측한 작업량을 청구하거나, 후보 한도를 높입니다.
원문 인용
모든 슬롯 접근에 전역 최댓값을 청구하는 수는 작업을 보수적으로 덮지만 단순 루프의 반복 읽기까지 비싸게 만들고, 원장 전 site 작업의 선행은 해결하지 못한다. 탐색한 뒤 실제 비용을 청구하는 수는 최초 거절 전에 효과를 실행한다. 후보 수치를 크게 잡는 수는 승인 전 경로와 최소 대상의 첫 물리 중단을 설명하지 못한다.
원본 소스의 바이트 길이를 보존합니다.
선택
SourceIdentity로 확인한 소스의 정확한 바이트 길이를 보존합니다. 전체 범위는 0부터 원래 길이까지입니다.
실패 뒤에는 소스를 다시 읽거나 해독하거나 정규화하거나 복사하거나 해시하지 않습니다.
검토한 대안
소스를 다시 읽거나, 글자 수, 변환한 길이, 선언한 길이 중 하나를 사용합니다.
토파즈 연결에 쓸 네이티브 개발 공급물을 정합니다.
선택
토파즈 6.0 설치를 연결할 때 기본 프로파일만 제공하는 네이티브 개발 후보를 사용합니다.
temporary-embedding-20261117/1와 아틀라스 고정 규칙 제품은 현재 적용 범위를 유지합니다.
일반 모델과 커널, 물리 경계와 이식 가능한 준비 형식의 지원을 확정한 뒤 출시 조건 6의 최종 공급물을 별도 결정으로 채택합니다. 개발 후보는 그 출시 증거로 쓰지 않습니다.
검토한 대안
처음부터 출시 자격을 갖춘 공급물을 요구하거나, 아틀라스 내장 호스트에 범용 패키지
Open기능을 추가합니다.원문 인용
일반 모델과 envelope 확정이 먼저라 연결 검증이 늦어진다 기존 계약의 상한과 지원 대상을 한꺼번에 바꾼다
유니코드 대소문자 변환의 문맥을 정합니다.
선택
Final_Sigma가 앞쪽 문맥을 보존하고 뒤쪽을 확인하는 비용은 map의 크기 n에 포함합니다. 원본 스칼라의 방문 횟수는 최대 n입니다.
Case_Ignorable을 먼저 검사합니다.
검토한 대안
읽기마다 별도의
scan사건을 추가하거나, 출력으로 앞뒤 문맥을 추정합니다.
문자열을 접어 비교할 때의 사건을 정합니다.
선택
문자열을 모두 접은 뒤 compare-scalar 사건 하나에서 왼쪽 스칼라나 끝 위치를 읽고, 이어 오른쪽 스칼라나 끝 위치를 읽은 다음에 순서를 판단합니다.
검토한 대안
원본을 훑는 사건을 더하거나, 왼쪽만 읽고 비교를 끝냅니다.
접은 결과의 할당 위치를 정합니다.
선택
대소문자를 무시해 비교할 때 인수 i를 접은 문자열은 호출의 result(i)에 할당합니다. i는 원래 인수의 위치입니다.
검토한 대안
인수의 위치나
map사건의 위치를 대신 사용합니다.
접은 인수의 보존 방식을 정합니다.
선택
모든 인수의 허용 범위를 검증한 뒤 접은 값을 호출의 기존 인수 슬롯에 보존합니다.
원본 문자열과 바깥 바인딩은 바뀌지 않습니다.
검토한 대안
기술자를 별도 배열에 할당합니다.
원문 인용
무계량 저장
유니코드 대응에 필요한 작업 공간을 정합니다.
선택
비어 있지 않은 문자열은 첫 unicode-map 예약에 n 곱하기 D만큼의 확장 공간을 포함합니다. 예약을 승인한 뒤 공간을 할당합니다.
D는 upper의 경우 3, lower의 경우 2, fold의 경우 3입니다.
빈 문자열에서는 map 사건이 일어나지 않습니다.
검토한 대안
map사건마다 증가 비용을 따로 청구하거나, 첫map의 효과가 생긴 뒤 별도로 예약합니다.
유니코드 정규화에 필요한 작업 공간을 정합니다.
선택
scan과 끝 위치를 방문한 뒤 unicode-normalize 사건 한 번에서 D 곱하기 n 크기의 버퍼 두 개, 계수기 256개, 안정된 계수 순서와 제자리 합성을 예약합니다.
정준 정규화에서는 D가 4이고 호환 정규화에서는 D가 18입니다.
이 값들은 구조상의 상한입니다. 계수는 선택한 모델에서 정합니다.
검토한 대안
호스트 재귀나 비교 정렬, 숨은 이차 삽입을 쓰거나, 예약 전에 실제 L과 r을 계산합니다.
유니코드 변환 결과의 크기를 계산합니다.
선택
결과의 datum-allocate 크기는 실제로 출력한 스칼라의 개수 m으로 정합니다.
전체 요구량에는 최대 4m UTF-8 바이트, 헤더와 값 슬롯이 포함됩니다.
검토한 대안
입력 스칼라 수나 인코딩된 바이트 수를 사건의 크기로 사용합니다.
유니코드 스칼라 연산의 결과를 정합니다.
선택
digit-value의 정확한 정수와 값 슬롯은 unicode-map 사건에서 예약하고 생성합니다.
속성과 단순 대응의 각 항목은 scan과 map 사건만 사용합니다.
검토한 대안
datum-allocate사건을 따로 추가합니다.원문 인용
그러면 기존 사건열과 첫 실패가 바뀐다.
WASM 명령의 구조를 정합니다.
선택
공통 명령 계약을 ABI 경계에서 분리합니다.
두 경계 사이의 의존은 한 방향으로 둡니다.
위치 색인은 준비가 시작될 때 한 번만 구성합니다.
WASM 메모리의 경계를 정합니다.
선택
공유하지 않는 memory32 하나의 잠정 한도는 256페이지인 16 MiB입니다. 섀도 스택의 잠정 한도는 1 MiB입니다.
WASM 기능은 닫힌 허용 목록에서 정합니다.
명령 포장과 산출물, 보고를 구현한 뒤 이 한도를 다시 측정합니다. 한도가 부족하면 배포 전에 다시 정합니다.
물리 경계의 정체성에 한도와 빌드, 호스트 지원 범위를 함께 묶습니다.
Worker의 메모리 지원 범위를 정합니다.
선택
표준 브라우저 Worker와 Node worker_threads는 자바스크립트, 메시지와 ArrayBuffer를 포함한 실행 단위의 모든 메모리를 제한할 수 없습니다.
WHATWG HTML 표준의 WorkerOptions에는 실행 단위 전체의 메모리 한도를 지정하는 옵션이 없습니다. Node.js 24.18.0의 Worker threads 문서는 resourceLimits의 적용 범위를 자바스크립트 엔진으로 한정합니다. ArrayBuffer 같은 외부 데이터는 이 제한의 범위 밖에 있습니다.
게스트 선형 메모리는 최대 16 MiB로 제한합니다.
입력과 출력은 각각 크기가 고정된 영역을 씁니다. 커서와 노드의 개수에도 한도를 둡니다.
한 번에 요청 하나만 처리하고, 데이터를 보낼 때 소유권도 넘깁니다.
준비와 평가의 시한은 따로 두고, 각각 강제로 종료할 수 있게 합니다.
강제로 종료한 뒤에도 다음 요청을 처리할 수 있게 복구합니다.
Node의 resourceLimits로 자바스크립트 힙에 보조 한도를 둡니다.
브라우저나 Node 스레드의 실행 단위 전체에는 운영체제 수준의 메모리 상한을 보장하지 않습니다.
첫 기능에는 이 지원 범위면 충분합니다.
평가에는 승인한 고정 규칙 하나만 받습니다. 한도는 1 KiB와 프레임 64개입니다.
사용자가 고친 코드나 신뢰할 수 없는 입력을 받기 전에 두 가지 조건을 충족해야 합니다.
서버 평가는 운영체제가 메모리를 제한하는 별도 프로세스에서 수행합니다.
브라우저가 신뢰할 수 없는 입력을 받는 지원 범위는 별도로 결정합니다.
판 이력
후속 ·
서버 전체에서 동시에 실행할 Worker의 수에 상한을 둡니다. Worker가 요청 하나만 처리해도 Worker 자체가 계속 늘면 서버 메모리가 소진될 수 있습니다. 상한과 초과 시 대기할지 또는 관찰할 수 있는 호스트 실패로 거절할지를 정합니다.
게스트 선형 메모리를 16 MiB 넘게 확장하려 하면 거절합니다. 준비와 평가 중에는 각각 강제로 종료할 수 있습니다. 복구 뒤 다음 요청은 정상적으로 처리합니다. 실패한 시도는 이전 결과를 반환하지 않습니다.
후속 ·
동시 실행 상한과 대기열 상한을 함께 둡니다. 초과 요청에는 관찰할 수 있는 호스트 실패를 반환합니다. Worker 수만 제한하면 대기열 때문에 서버 메모리가 소진될 수 있습니다.
같은 조건의 정본 성공, 언어 실패와 자원 거절은 네이티브, 브라우저, 서버에서 동일한 응답 바이트를 냅니다.
브라우저 Worker 종료와 서버 시한 초과, WASM 트랩은 관찰할 수 있는 호스트 실패로 반환합니다. 이 실패는 정본 바이트 일치의 적용 범위에서 제외하며, 이전 결과를 반환하지 않습니다.
Worker의 준비와 평가를 각각 중단할 수 있게 합니다.
선택
준비와 평가의 시한은 각각 설정합니다.
관측한 분포를 바탕으로 여유를 둔 보수적인 한도를 사용합니다.
현재 epoch보다 늦게 도착한 이전 메시지는 버립니다.
새 Worker와 인스턴스를 만들고 준비를 다시 거쳐 복구합니다.
종료 전에 확인한 정체성을 보존합니다.
검증을 거친 사실만 남깁니다.
Worker가 장애 뒤에 회복하는지 확인합니다.
선택
메모리 거절, 실제 트랩, 준비의 강제 중단, 평가의 강제 중단 뒤에는 각각 새 Worker와 인스턴스를 만들고 다시 준비해 평가를 재개합니다.
실패한 시도에서는 새 영수증이나 평가 결과가 생기지 않습니다.
값의 동등성을 판단하는 방식을 정합니다.
선택
스칼라는 eq?와 eqv?로 비교하고 이식 가능한 데이터는 equal?로 비교합니다. 프로시저를 비교하면 오류가 납니다.
검토한 대안
프로시저를 결정적인 기본 연산·클로저 ID나 주소로 비교합니다.
원문 인용
사용 가치에 비해 최적화·재현 제약이 크다.
모든 객체의 생성 및 공유 정체성을 명세하거나,
eq?도 구조를 비교하게 합니다.
관련 명세
- Give decimal spellings exact numeric values
- Return exactly one portable datum
- Use the specified text semantics
- Validate equality operands in a fixed order
- Preserve Unicode scalar sequences
- Compare only scalars with eq? and eqv?
- Validate data before returning structural equality
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a procedure result
- Reject zero values at the external boundary
- Keep different scalar sequences distinct
- Reject aggregate operands for scalar equality
- Compare separately constructed lists
- Visit pair and vector components in order
- Select the first invalid operand
- Distinguish exact text sequences
- Compare scalar values
- Reject a procedure inside shared data
- Check the whole data domain
호스트 경계에는 데이터만 넘깁니다.
선택
호스트는 경계를 넘어 데이터만 넘깁니다.
임의 Rust 함수를 포함한 공개 콜백은 허용하지 않습니다. 가져오기가 없는 산출물을 우선합니다.
검토한 대안
게스트에 효과를 내는 권한을 명시적으로 주거나, 주변 환경을 암묵적으로 조회하도록 허용합니다.
검증한 순수 콜백을 계량하는 ABI를 공개하거나, 임의의 콜백을 허용합니다.
원문 인용
“명시 capability”만으로 함수의 실행 한도·결정성이 보장되지 않는다.
일반 네이티브 크레이트를 쓰거나, 격리를 운영체제 프로세스에만 맡깁니다.
동적으로 부여한 콜백 권한을 쓰거나, 범용 WASI나 FFI를 노출합니다.
관련 명세
- One explicit input and one result
- Keep replay and evidence checks distinct
- Keep terminal failures outside guards
- Validate artifacts before execution
- Check the components of a package
- Keep external facts and actions with Topaz
- Pass data across the host boundary
- Pass one input and receive one result
- Supply one input datum to the entry
- Return exactly one portable datum
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Verify evidence against its request and outcome
- Preserve the class of a failed attempt
- Pass outside facts as data
- Resolve only submitted source
- Public procedure contracts
- Keep executable values inside evaluation
- Reject guest input
- Reject multiple boundary results
- Return one explicit input
- Compare a recorded result
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Reject a host callback as input
- Replay a fact captured by Topaz
- Pass an exact value to a rule
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Revalidate transported prepared bytes
- Return the first item
- Reject a request with two arguments
- Reject a request with no argument
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Pass several facts in one list datum
- Reject a procedure result
- Call a rest entry with one input
- Reject zero values at the external boundary
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- An admission report without an evaluation receipt
- Check the record that an envelope authenticates
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject runtime source loading
- Reject guest output
- Return nested data
- Reject an executable element in a result