Move the engine core into core/, a project of its own (pplus-core)
What programs mean (the languages, translators, Mojo checker and
interpreter, prover, fuzzer, machine model, catalog problems and the Mojo
corpus with godbolt's stored answers) was mixed into the site's tree, so a
change to the prover and a change to a button went through the same gate
and the same docs. This moves all of it under core/, laid out as its own
repository, ready to be extracted with its history and pinned here as a
git submodule.
- core/: src/{engines,services,sync,mojo,exercises,curriculum,common},
mojo/, syntax/mojo.xml, its tests (with Workspace and workForProblem in
place of the site's Session), scripts (corpus pipeline, play, the
exercise and probe starters, engines export/diff), and its docs
(engines, trust, mojo-corpus, exercises, coverage). Its own pixi.toml,
package.json, README, AGENTS.md and CI workflow.
- core/tests/boundary.test.mjs: library modules use no DOM, import no
page widget, and import nothing outside src/.
- core/scripts/cli.mjs: pixi run cli check|run|prove|fuzz|translate.
- core/scripts/dafny.py: Dafny 4.11.0 pinned by version and SHA-256 per
platform, fetched into .tools/ (pixi run dafny-fetch, pixi run dafny).
- The site imports core only as #core/<path>.js: an import map in
index.html, "imports" in package.json for node, core's declarations for
tsc. The site's TypeScript builds core first (npm run build).
- assemble.sh, the Quarto engine copy, the render cache key, check-pages,
quarto-export and quarto-css read core/dist and core/mojo; quarto-css
copies core's syntax/mojo.xml into the extension.
- Site tests that covered engines moved to core; the rest keep Session.
- README, AGENTS.md, docs/app.md, docs/deploy.md and the CI workflow
describe the split (checkout with submodules; core's tests and corpus
status run against the pinned commit).
Gate: site 110 pass; core 307 pass; corpus status --strict passes.
Manual check: the assembled site opens Bridge (count-base-proved),
Developer and Hardware (count-base) with the editor, the stepper and the
board, and no module errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FgvbRdoEheAHqsRmr2WuKZ
This commit is contained in:
1567 files changed
+3670
-981
No files matched your search
@@ -0,0 +1,693 @@
|
||||
{
|
||||
"ambiguous": [
|
||||
"BinaryTile1DTileUnitFunc",
|
||||
"CompilationTarget",
|
||||
"Dynamic1DTileUnitFunc",
|
||||
"Dynamic1DTileUnswitchUnitFunc",
|
||||
"OptionalReg",
|
||||
"OwnedPointer",
|
||||
"Path",
|
||||
"Point",
|
||||
"Pointer",
|
||||
"Rng",
|
||||
"Span",
|
||||
"Static1DTileUnitFunc",
|
||||
"Static1DTileUnitFuncWithFlag",
|
||||
"Static1DTileUnitFuncWithFlags",
|
||||
"Static1DTileUnswitchUnitFunc",
|
||||
"Static2DTileUnitFunc",
|
||||
"Strategy",
|
||||
"SwitchedFunction",
|
||||
"SwitchedFunction2",
|
||||
"ThinAllocation",
|
||||
"Writable",
|
||||
"Writer",
|
||||
"abort",
|
||||
"abs",
|
||||
"dealloc",
|
||||
"external_call",
|
||||
"main",
|
||||
"map",
|
||||
"product",
|
||||
"reflect",
|
||||
"run",
|
||||
"size_of",
|
||||
"sleep",
|
||||
"tile",
|
||||
"tile_and_unswitch",
|
||||
"tile_middle_unswitch_boundaries",
|
||||
"unswitch",
|
||||
"vectorize"
|
||||
],
|
||||
"exports": {
|
||||
"ASSERT_MODE": "std.builtin.debug_assert",
|
||||
"Absable": "std.math",
|
||||
"AddressSpace": "std.memory",
|
||||
"All": "std.utils.coord",
|
||||
"Allocation": "std.memory",
|
||||
"AnyOrigin": "std.origin",
|
||||
"AnyType": "std.traits",
|
||||
"ArcPointer": "std.memory",
|
||||
"Array": "std.collections",
|
||||
"Atomic": "std.atomic",
|
||||
"BFloat16": "std.simd",
|
||||
"Batch": "std.benchmark",
|
||||
"Bench": "std.benchmark",
|
||||
"BenchConfig": "std.benchmark",
|
||||
"BenchId": "std.benchmark",
|
||||
"BenchMetric": "std.benchmark",
|
||||
"Bencher": "std.benchmark",
|
||||
"BenchmarkInfo": "std.benchmark",
|
||||
"BinaryHeap": "std.collections",
|
||||
"BitSet": "std.collections",
|
||||
"BlockingScopedLock": "std.utils",
|
||||
"BlockingSpinLock": "std.utils",
|
||||
"Bool": "std.builtin.bool",
|
||||
"Boolable": "std.builtin.bool",
|
||||
"Byte": "std.simd",
|
||||
"BytesIter": "std.collections.string",
|
||||
"CStringSlice": "std.ffi",
|
||||
"CStringSpan": "std.ffi",
|
||||
"CeilDivable": "std.math",
|
||||
"CeilDivableRaising": "std.math",
|
||||
"Ceilable": "std.math",
|
||||
"Codepoint": "std.collections.string",
|
||||
"CodepointSliceIter": "std.collections.string.iterators",
|
||||
"CodepointsIter": "std.collections.string",
|
||||
"Comparable": "std.builtin.comparable",
|
||||
"CompiledFunctionInfo": "std.compile",
|
||||
"ComplexFloat32": "std.complex",
|
||||
"ComplexFloat64": "std.complex",
|
||||
"ComplexSIMD": "std.complex",
|
||||
"ComplexScalar": "std.complex",
|
||||
"ComptimeInt": "std.utils.coord",
|
||||
"ContiguousSlice": "std.builtin.builtin_slice",
|
||||
"ConvertibleFromPython": "std.python",
|
||||
"ConvertibleToPython": "std.python",
|
||||
"Coord": "std.utils.coord",
|
||||
"CoordLike": "std.utils.coord",
|
||||
"Copyable": "std.traits",
|
||||
"CountTuple": "std.collections.counter",
|
||||
"Counter": "std.collections",
|
||||
"DEFAULT_LEVEL": "std.logger.logger",
|
||||
"DEFAULT_RTLD": "std.ffi",
|
||||
"DIR_SEPARATOR": "std.pathlib",
|
||||
"DType": "std.builtin.dtype",
|
||||
"DebugLevel": "std.sys.compile",
|
||||
"Defaultable": "std.builtin.value",
|
||||
"Deinitable": "std.traits",
|
||||
"Deque": "std.collections",
|
||||
"DevicePassable": "std.builtin.device_passable",
|
||||
"DevicePointerLike": "std.builtin.device_passable",
|
||||
"DeviceTypeEncoder": "std.builtin.device_passable",
|
||||
"Dict": "std.collections",
|
||||
"DictEntry": "std.collections.dict",
|
||||
"DictKeyError": "std.collections.dict",
|
||||
"DivModable": "std.math",
|
||||
"DynamicCoord": "std.utils.coord",
|
||||
"EllipsisType": "std.builtin.type_aliases",
|
||||
"EmptyDictError": "std.collections.dict",
|
||||
"EmptyOptionalError": "std.collections.optional",
|
||||
"Equatable": "std.builtin.comparable",
|
||||
"ErrNo": "std.ffi",
|
||||
"Error": "std.builtin.error",
|
||||
"ExceptionType": "std.python.bindings",
|
||||
"FPUtils": "std.utils.numerics",
|
||||
"FastDiv": "std.utils.fast_div",
|
||||
"FastMathFlag": "std.simd",
|
||||
"FileDescriptor": "std.io",
|
||||
"FileHandle": "std.io",
|
||||
"Float16": "std.simd",
|
||||
"Float32": "std.simd",
|
||||
"Float4_e2m1fn": "std.simd",
|
||||
"Float64": "std.simd",
|
||||
"Float8_e4m3fn": "std.simd",
|
||||
"Float8_e4m3fnuz": "std.simd",
|
||||
"Float8_e5m2": "std.simd",
|
||||
"Float8_e5m2fnuz": "std.simd",
|
||||
"Float8_e8m0fnu": "std.simd",
|
||||
"FloatLiteral": "std.builtin.float_literal",
|
||||
"Floatable": "std.builtin.floatable",
|
||||
"FloatableRaising": "std.builtin.floatable",
|
||||
"Floorable": "std.math",
|
||||
"FlushDenormals": "std.utils.numerics",
|
||||
"Format": "std.benchmark",
|
||||
"GenericPyFunction": "std.python.bindings",
|
||||
"GraphemeIndicesIter": "std.collections.string.iterators",
|
||||
"GraphemeSliceIter": "std.collections.string",
|
||||
"Hashable": "std.hashlib",
|
||||
"Hasher": "std.hashlib",
|
||||
"Identifiable": "std.builtin.identifiable",
|
||||
"Idx": "std.utils.coord",
|
||||
"ImmOpaquePointer": "std.memory",
|
||||
"ImmOrigin": "std.origin",
|
||||
"ImmPointer": "std.memory",
|
||||
"ImmSpan": "std.collections",
|
||||
"ImmStaticOrigin": "std.origin",
|
||||
"ImmStringSlice": "std.collections.string",
|
||||
"ImmStringSpan": "std.collections.string",
|
||||
"ImmUnsafeAnyOrigin": "std.origin",
|
||||
"ImmUntrackedOrigin": "std.origin",
|
||||
"ImmutAnyOrigin": "std.origin",
|
||||
"ImplicitlyCopyable": "std.traits",
|
||||
"Index": "std.utils",
|
||||
"IndexList": "std.utils",
|
||||
"Indexer": "std.builtin.int",
|
||||
"InlineLevel": "std.builtin.inline_level",
|
||||
"Int": "std.simd",
|
||||
"Int128": "std.simd",
|
||||
"Int16": "std.simd",
|
||||
"Int256": "std.simd",
|
||||
"Int32": "std.simd",
|
||||
"Int64": "std.simd",
|
||||
"Int8": "std.simd",
|
||||
"IntLiteral": "std.builtin.int_literal",
|
||||
"Intable": "std.builtin.int",
|
||||
"IntableRaising": "std.builtin.int",
|
||||
"Interval": "std.collections.interval",
|
||||
"IntervalElement": "std.collections.interval",
|
||||
"IntervalTree": "std.collections.interval",
|
||||
"IsTriviallyCopyable": "std.traits",
|
||||
"IsTriviallyDeinitable": "std.traits",
|
||||
"IsTriviallyMovable": "std.traits",
|
||||
"Iterable": "std.iter",
|
||||
"IterableOwned": "std.iter",
|
||||
"Iterator": "std.iter",
|
||||
"KeyElement": "std.collections",
|
||||
"Layout": "std.memory",
|
||||
"Level": "std.logger",
|
||||
"LinkedList": "std.collections",
|
||||
"List": "std.collections",
|
||||
"Logger": "std.logger",
|
||||
"MAX_PATH": "std.ffi",
|
||||
"MOJO_PYTHON_TYPE_OBJECTS": "std.python.bindings",
|
||||
"MOJO_VERSION": "std.sys.defines",
|
||||
"ManagedAllocation": "std.memory.alloc",
|
||||
"MaybeUninit": "std.memory",
|
||||
"Mode": "std.benchmark",
|
||||
"MojoVersion": "std.sys.defines",
|
||||
"Movable": "std.traits",
|
||||
"MutAnyOrigin": "std.origin",
|
||||
"MutOpaquePointer": "std.memory",
|
||||
"MutOrigin": "std.origin",
|
||||
"MutPointer": "std.memory",
|
||||
"MutSpan": "std.collections",
|
||||
"MutStringSlice": "std.collections.string",
|
||||
"MutStringSpan": "std.collections.string",
|
||||
"MutUnsafeAnyOrigin": "std.origin",
|
||||
"MutUntrackedOrigin": "std.origin",
|
||||
"NamedTemporaryFile": "std.tempfile",
|
||||
"Never": "std.builtin.type_aliases",
|
||||
"Node": "std.collections.linked_list",
|
||||
"NoneType": "std.builtin.none",
|
||||
"NormalRandom": "std.random",
|
||||
"NumPyView": "std.python.numpy",
|
||||
"O_APPEND": "std.io.file",
|
||||
"O_CLOEXEC": "std.io.file",
|
||||
"O_CREAT": "std.io.file",
|
||||
"O_RDONLY": "std.io.file",
|
||||
"O_RDWR": "std.io.file",
|
||||
"O_TRUNC": "std.io.file",
|
||||
"O_WRONLY": "std.io.file",
|
||||
"OpaquePointer": "std.memory",
|
||||
"OptimizationLevel": "std.sys.compile",
|
||||
"Optional": "std.collections",
|
||||
"OptionalPointer": "std.memory",
|
||||
"Ordering": "std.atomic",
|
||||
"Origin": "std.origin",
|
||||
"OriginSet": "std.origin",
|
||||
"OwnedDLHandle": "std.ffi",
|
||||
"ParameterList": "std.builtin.variadics",
|
||||
"Passwd": "std.pwd.pwd",
|
||||
"PathLike": "std.os",
|
||||
"Pipe": "std.os",
|
||||
"Powable": "std.math",
|
||||
"PrefetchCache": "std.sys",
|
||||
"PrefetchLocality": "std.sys",
|
||||
"PrefetchOptions": "std.sys",
|
||||
"PrefetchRW": "std.sys",
|
||||
"Process": "std.os",
|
||||
"ProcessStatus": "std.os.process",
|
||||
"PropTest": "std.testing.prop",
|
||||
"PropTestConfig": "std.testing.prop",
|
||||
"PyFunctionRaising": "std.python.bindings",
|
||||
"PyFunctionWithKeywordsRaising": "std.python.bindings",
|
||||
"PyMojoObject": "std.python.bindings",
|
||||
"Python": "std.python",
|
||||
"PythonModuleBuilder": "std.python.bindings",
|
||||
"PythonObject": "std.python",
|
||||
"PythonTypeBuilder": "std.python.bindings",
|
||||
"QuickBench": "std.benchmark",
|
||||
"RTLD": "std.ffi",
|
||||
"Random": "std.random",
|
||||
"Reflected": "std.reflection",
|
||||
"ReflectedFn": "std.reflection",
|
||||
"RegisterPassable": "std.builtin.value",
|
||||
"Report": "std.benchmark",
|
||||
"ReversibleRange": "std.builtin.reversed",
|
||||
"Roundable": "std.math",
|
||||
"SEEK_CUR": "std.os",
|
||||
"SEEK_END": "std.os",
|
||||
"SEEK_SET": "std.os",
|
||||
"SIMD": "std.simd",
|
||||
"SIMDLength": "std.builtin.simd_length",
|
||||
"S_IFBLK": "std.stat",
|
||||
"S_IFCHR": "std.stat",
|
||||
"S_IFDIR": "std.stat",
|
||||
"S_IFIFO": "std.stat",
|
||||
"S_IFLNK": "std.stat",
|
||||
"S_IFMT": "std.stat",
|
||||
"S_IFREG": "std.stat",
|
||||
"S_IFSOCK": "std.stat",
|
||||
"S_ISBLK": "std.stat",
|
||||
"S_ISCHR": "std.stat",
|
||||
"S_ISDIR": "std.stat",
|
||||
"S_ISFIFO": "std.stat",
|
||||
"S_ISLNK": "std.stat",
|
||||
"S_ISREG": "std.stat",
|
||||
"S_ISSOCK": "std.stat",
|
||||
"SanitizeAddress": "std.sys.compile",
|
||||
"Scalar": "std.simd",
|
||||
"Set": "std.collections",
|
||||
"Sized": "std.builtin.len",
|
||||
"SizedRaising": "std.builtin.len",
|
||||
"Slice": "std.builtin.builtin_slice",
|
||||
"Some": "std.builtin.anytype",
|
||||
"SomeTypeList": "std.builtin.anytype",
|
||||
"SourceLocation": "std.reflection",
|
||||
"SpinWaiter": "std.utils",
|
||||
"StackTrace": "std.builtin.error",
|
||||
"StaticCoord": "std.utils.coord",
|
||||
"StaticString": "std.collections.string",
|
||||
"StaticTuple": "std.utils",
|
||||
"StopIteration": "std.iter",
|
||||
"StridedSlice": "std.builtin.builtin_slice",
|
||||
"String": "std.collections.string",
|
||||
"StringDict": "std.collections",
|
||||
"StringLiteral": "std.builtin.string_literal",
|
||||
"StringSlice": "std.collections.string",
|
||||
"StringSpan": "std.collections.string",
|
||||
"TMP_MAX": "std.tempfile.tempfile",
|
||||
"TString": "std.format.tstring",
|
||||
"TemporaryDirectory": "std.tempfile",
|
||||
"TestReport": "std.testing.suite",
|
||||
"TestResult": "std.testing.suite",
|
||||
"TestSuite": "std.testing",
|
||||
"TestSuiteReport": "std.testing.suite",
|
||||
"ThroughputMeasure": "std.benchmark",
|
||||
"TrivialRegisterPassable": "std.builtin.value",
|
||||
"Truncable": "std.math",
|
||||
"Tuple": "std.builtin.tuple",
|
||||
"TypeDict": "std.collections",
|
||||
"TypeList": "std.iter",
|
||||
"U8x16": "std.simd",
|
||||
"UInt": "std.simd",
|
||||
"UInt128": "std.simd",
|
||||
"UInt16": "std.simd",
|
||||
"UInt256": "std.simd",
|
||||
"UInt32": "std.simd",
|
||||
"UInt64": "std.simd",
|
||||
"UInt8": "std.simd",
|
||||
"Unit": "std.benchmark",
|
||||
"UnsafeAnyOrigin": "std.origin",
|
||||
"UnsafePointer": "std.memory",
|
||||
"UnsafeUnion": "std.ffi",
|
||||
"UntrackedOrigin": "std.origin",
|
||||
"VariadicList": "std.builtin.variadics",
|
||||
"VariadicPack": "std.builtin.variadics",
|
||||
"Variant": "std.utils",
|
||||
"Vendor": "std.sys",
|
||||
"WeakPointer": "std.memory.arc_pointer",
|
||||
"acos": "std.math",
|
||||
"acosh": "std.math",
|
||||
"align_down": "std.math",
|
||||
"align_of": "std.sys",
|
||||
"align_up": "std.math",
|
||||
"all": "std.builtin.bool",
|
||||
"alloc": "std.memory",
|
||||
"any": "std.builtin.bool",
|
||||
"argv": "std.sys",
|
||||
"ascii": "std.collections.string",
|
||||
"asin": "std.math",
|
||||
"asinh": "std.math",
|
||||
"assert_almost_equal": "std.testing",
|
||||
"assert_equal": "std.testing",
|
||||
"assert_equal_pyobj": "std.testing",
|
||||
"assert_false": "std.testing",
|
||||
"assert_is": "std.testing",
|
||||
"assert_is_not": "std.testing",
|
||||
"assert_not_equal": "std.testing",
|
||||
"assert_raises": "std.testing",
|
||||
"assert_true": "std.testing",
|
||||
"assume": "std.sys.intrinsics",
|
||||
"atan": "std.math",
|
||||
"atan2": "std.math",
|
||||
"atanh": "std.math",
|
||||
"atof": "std.collections.string",
|
||||
"atol": "std.collections.string",
|
||||
"b16decode": "std.base64",
|
||||
"b16encode": "std.base64",
|
||||
"b64decode": "std.base64",
|
||||
"b64encode": "std.base64",
|
||||
"ballot": "std.sys.intrinsics",
|
||||
"basename": "std.os.path",
|
||||
"bin": "std.builtin.format_int",
|
||||
"bit_not": "std.bit",
|
||||
"bit_reverse": "std.bit",
|
||||
"bit_width": "std.bit",
|
||||
"bit_width_of": "std.sys",
|
||||
"bitcast": "std.memory",
|
||||
"black_box": "std.benchmark",
|
||||
"breakpoint": "std.builtin.breakpoint",
|
||||
"breakpointhook": "std.sys",
|
||||
"byte_swap": "std.bit",
|
||||
"c_char": "std.ffi",
|
||||
"c_double": "std.ffi",
|
||||
"c_float": "std.ffi",
|
||||
"c_int": "std.ffi",
|
||||
"c_long": "std.ffi",
|
||||
"c_long_long": "std.ffi",
|
||||
"c_pid_t": "std.ffi",
|
||||
"c_short": "std.ffi",
|
||||
"c_size_t": "std.ffi",
|
||||
"c_ssize_t": "std.ffi",
|
||||
"c_uchar": "std.ffi",
|
||||
"c_uint": "std.ffi",
|
||||
"c_ulong": "std.ffi",
|
||||
"c_ulong_long": "std.ffi",
|
||||
"c_ushort": "std.ffi",
|
||||
"call_location": "std.reflection",
|
||||
"cbrt": "std.math",
|
||||
"ceil": "std.math",
|
||||
"ceildiv": "std.math",
|
||||
"chain": "std.iter",
|
||||
"chdir": "std.os",
|
||||
"check_and_get_arg": "std.python.bindings",
|
||||
"check_and_get_or_convert_arg": "std.python.bindings",
|
||||
"check_arguments_arity": "std.python.bindings",
|
||||
"check_bounds": "std.collections",
|
||||
"check_slice_bounds": "std.collections",
|
||||
"chr": "std.collections.string",
|
||||
"clamp": "std.math",
|
||||
"clobber_memory": "std.benchmark",
|
||||
"codegen_unreachable": "std.sys",
|
||||
"comb": "std.math",
|
||||
"compile_info": "std.compile",
|
||||
"compressed_store": "std.sys",
|
||||
"coord": "std.utils.coord",
|
||||
"coord_to_index_list": "std.utils.coord",
|
||||
"copy_to_numpy_array": "std.python.numpy",
|
||||
"copy_to_numpy_tensor": "std.python.numpy",
|
||||
"copysign": "std.math",
|
||||
"cos": "std.math",
|
||||
"cosh": "std.math",
|
||||
"count": "std.itertools",
|
||||
"count_leading_zeros": "std.bit",
|
||||
"count_trailing_zeros": "std.bit",
|
||||
"crd2idx": "std.utils.coord",
|
||||
"cwd": "std.pathlib",
|
||||
"cycle": "std.itertools",
|
||||
"debug_assert": "std.builtin.debug_assert",
|
||||
"default_comp_time_hasher": "std.hashlib",
|
||||
"default_hasher": "std.hashlib",
|
||||
"deinit": "std.traits.deinitable",
|
||||
"dirname": "std.os.path",
|
||||
"divmod": "std.math",
|
||||
"dlclose": "std.ffi",
|
||||
"dlerror": "std.ffi",
|
||||
"dlopen": "std.ffi",
|
||||
"dlsym": "std.ffi",
|
||||
"doc_hidden": "std.documentation",
|
||||
"downcast": "std.iter",
|
||||
"drop": "std.itertools",
|
||||
"drop_while": "std.itertools",
|
||||
"dyn_coord": "std.utils.coord",
|
||||
"e": "std.math",
|
||||
"empty": "std.iter",
|
||||
"enumerate": "std.iter",
|
||||
"erf": "std.math",
|
||||
"erfc": "std.math",
|
||||
"exists": "std.os.path",
|
||||
"exit": "std.sys",
|
||||
"exp": "std.math",
|
||||
"exp2": "std.math",
|
||||
"exp_approx_f32": "std.math.math",
|
||||
"expanduser": "std.os.path",
|
||||
"expandvars": "std.os.path",
|
||||
"expect": "std.sys.intrinsics",
|
||||
"expm1": "std.math",
|
||||
"factorial": "std.math",
|
||||
"fence": "std.atomic",
|
||||
"floor": "std.math",
|
||||
"fma": "std.math",
|
||||
"foo": "std.builtin.anytype",
|
||||
"forget_deinit": "std.memory.memory",
|
||||
"frexp": "std.math",
|
||||
"from_numpy_array": "std.python.numpy",
|
||||
"from_numpy_tensor": "std.python.numpy",
|
||||
"gamma": "std.math",
|
||||
"gather": "std.sys",
|
||||
"gcd": "std.math",
|
||||
"get_accum_type": "std.utils.numerics",
|
||||
"get_defined_bool": "std.sys",
|
||||
"get_defined_dtype": "std.sys",
|
||||
"get_defined_int": "std.sys",
|
||||
"get_defined_string": "std.sys",
|
||||
"get_errno": "std.ffi",
|
||||
"get_function_name": "std.reflection",
|
||||
"get_linkage_name": "std.reflection",
|
||||
"get_random": "std.ffi",
|
||||
"get_static_string": "std.ffi",
|
||||
"getenv": "std.os",
|
||||
"getpwnam": "std.pwd",
|
||||
"getpwuid": "std.pwd",
|
||||
"getsize": "std.os.path",
|
||||
"gettempdir": "std.tempfile",
|
||||
"getuid": "std.os",
|
||||
"global_constant": "std.builtin.globals",
|
||||
"global_perf_counter_ns": "std.time",
|
||||
"has_accelerator": "std.sys",
|
||||
"has_amd_gpu_accelerator": "std.sys",
|
||||
"has_amd_rdna_gpu_accelerator": "std.sys",
|
||||
"has_apple_gpu_accelerator": "std.sys",
|
||||
"has_nvidia_gpu_accelerator": "std.sys",
|
||||
"hash": "std.hashlib",
|
||||
"hex": "std.builtin.format_int",
|
||||
"hypot": "std.math",
|
||||
"idx2crd": "std.utils.coord",
|
||||
"implicitarg_ptr": "std.sys.intrinsics",
|
||||
"index": "std.builtin.int",
|
||||
"inf": "std.math",
|
||||
"initialize_runtime": "std.runtime",
|
||||
"inlined_assembly": "std.sys",
|
||||
"input": "std.io",
|
||||
"insertion_sort_threshold": "std.builtin.sort",
|
||||
"iota": "std.math",
|
||||
"is_32bit": "std.ffi",
|
||||
"is_64bit": "std.ffi",
|
||||
"is_absolute": "std.os.path",
|
||||
"is_amd_gpu": "std.sys",
|
||||
"is_apple_gpu": "std.sys",
|
||||
"is_apple_m5": "std.sys.info",
|
||||
"is_big_endian": "std.sys",
|
||||
"is_defined": "std.sys",
|
||||
"is_gpu": "std.sys",
|
||||
"is_little_endian": "std.sys",
|
||||
"is_negative": "std.bit.mask",
|
||||
"is_nvidia_gpu": "std.sys",
|
||||
"is_triple": "std.sys.info",
|
||||
"is_trivially_copyable": "std.memory.memory",
|
||||
"is_trivially_deletable": "std.memory.memory",
|
||||
"is_trivially_movable": "std.memory.memory",
|
||||
"isatty": "std.os",
|
||||
"isclose": "std.math",
|
||||
"isdir": "std.os.path",
|
||||
"isfile": "std.os.path",
|
||||
"isfinite": "std.math",
|
||||
"isinf": "std.math",
|
||||
"islink": "std.os.path",
|
||||
"isnan": "std.math",
|
||||
"iter": "std.iter",
|
||||
"j0": "std.math",
|
||||
"j1": "std.math",
|
||||
"join": "std.os.path",
|
||||
"keep": "std.benchmark",
|
||||
"lcm": "std.math",
|
||||
"ldexp": "std.math",
|
||||
"len": "std.builtin.len",
|
||||
"lexists": "std.os.path",
|
||||
"lgamma": "std.math",
|
||||
"likely": "std.sys.intrinsics",
|
||||
"link": "std.os",
|
||||
"listdir": "std.os",
|
||||
"llvm_intrinsic": "std.sys",
|
||||
"log": "std.math",
|
||||
"log10": "std.math",
|
||||
"log1p": "std.math",
|
||||
"log2": "std.math",
|
||||
"log2_ceil": "std.bit",
|
||||
"log2_floor": "std.bit",
|
||||
"log2e": "std.math.constants",
|
||||
"logb": "std.math",
|
||||
"lookup_py_type_object": "std.python.bindings",
|
||||
"lstat": "std.os",
|
||||
"makedirs": "std.os",
|
||||
"masked_load": "std.sys",
|
||||
"masked_store": "std.sys",
|
||||
"materialize": "std.builtin.value",
|
||||
"max": "std.math",
|
||||
"max_finite": "std.utils.numerics",
|
||||
"max_or_inf": "std.utils.numerics",
|
||||
"memmove": "std.memory.memory",
|
||||
"min": "std.math",
|
||||
"min_finite": "std.utils.numerics",
|
||||
"min_or_neg_inf": "std.utils.numerics",
|
||||
"mkdir": "std.os",
|
||||
"mkdtemp": "std.tempfile",
|
||||
"modf": "std.math",
|
||||
"monotonic": "std.time",
|
||||
"my_assert": "std.reflection.location",
|
||||
"my_func": "std.compile",
|
||||
"my_function": "std.reflection.type_info",
|
||||
"nan": "std.math",
|
||||
"neg_inf": "std.utils.numerics",
|
||||
"next": "std.iter",
|
||||
"next_power_of_two": "std.bit",
|
||||
"nextafter": "std.math",
|
||||
"num_logical_cores": "std.sys",
|
||||
"num_performance_cores": "std.sys",
|
||||
"num_physical_cores": "std.sys",
|
||||
"oct": "std.builtin.format_int",
|
||||
"once": "std.iter",
|
||||
"open": "std.io.file",
|
||||
"ord": "std.collections.string",
|
||||
"pack_bits": "std.memory",
|
||||
"parallelism_level": "std.runtime",
|
||||
"partition": "std.builtin.sort",
|
||||
"path": "std.os",
|
||||
"peekable": "std.iter",
|
||||
"perf_counter": "std.time",
|
||||
"perf_counter_ns": "std.time",
|
||||
"perm": "std.math",
|
||||
"pi": "std.math",
|
||||
"platform_map": "std.sys.info",
|
||||
"pointer_to_int": "std.memory.unsafe_pointer",
|
||||
"polynomial_evaluate": "std.math.polynomial",
|
||||
"pop_count": "std.bit",
|
||||
"pow": "std.math",
|
||||
"prefetch": "std.sys",
|
||||
"prev_power_of_two": "std.bit",
|
||||
"print": "std.io",
|
||||
"print_fields": "std.reflection",
|
||||
"process": "std.memory.alloc",
|
||||
"raise_python_exception": "std.python.bindings",
|
||||
"rand": "std.random",
|
||||
"randint": "std.random",
|
||||
"randn": "std.random",
|
||||
"randn_float64": "std.random",
|
||||
"random_float64": "std.random",
|
||||
"random_si64": "std.random",
|
||||
"random_ui64": "std.random",
|
||||
"range": "std.builtin.range",
|
||||
"readfirstlane": "std.sys.intrinsics",
|
||||
"realpath": "std.os.path",
|
||||
"rebind": "std.builtin.rebind",
|
||||
"rebind_var": "std.builtin.rebind",
|
||||
"recip": "std.math",
|
||||
"reflect_fn": "std.reflection",
|
||||
"remainder": "std.math",
|
||||
"remove": "std.os",
|
||||
"removedirs": "std.os",
|
||||
"repeat": "std.itertools",
|
||||
"repr": "std.format",
|
||||
"reversed": "std.builtin.reversed",
|
||||
"rmdir": "std.os",
|
||||
"rotate_bits_left": "std.bit",
|
||||
"rotate_bits_right": "std.bit",
|
||||
"round": "std.math",
|
||||
"rsqrt": "std.math",
|
||||
"scalb": "std.math",
|
||||
"scatter": "std.sys",
|
||||
"seed": "std.random",
|
||||
"sendmsg": "std.sys.intrinsics",
|
||||
"sep": "std.os",
|
||||
"set_errno": "std.ffi",
|
||||
"setenv": "std.os",
|
||||
"shuffle": "std.random",
|
||||
"simd_bit_width": "std.sys",
|
||||
"simd_byte_width": "std.sys",
|
||||
"simd_width_of": "std.sys",
|
||||
"sin": "std.math",
|
||||
"sinh": "std.math",
|
||||
"sleeper": "std.benchmark",
|
||||
"slice": "std.builtin.builtin_slice",
|
||||
"sort": "std.builtin.sort",
|
||||
"source_location": "std.reflection",
|
||||
"splat": "std.bit.mask",
|
||||
"split": "std.os.path",
|
||||
"split_extension": "std.os.path",
|
||||
"splitroot": "std.os.path",
|
||||
"sqrt": "std.math",
|
||||
"stack_allocation": "std.memory",
|
||||
"stat": "std.os",
|
||||
"stat_result": "std.os",
|
||||
"stdPathLike": "std.ffi",
|
||||
"stderr": "std.sys",
|
||||
"stdin": "std.sys",
|
||||
"stdlib_plugin": "std.sys.info",
|
||||
"stdout": "std.sys",
|
||||
"strided_load": "std.sys",
|
||||
"strided_store": "std.sys",
|
||||
"swap": "std.builtin.swap",
|
||||
"symlink": "std.os",
|
||||
"take": "std.itertools",
|
||||
"take_while": "std.itertools",
|
||||
"tan": "std.math",
|
||||
"tanh": "std.math",
|
||||
"tau": "std.math",
|
||||
"time_function": "std.time",
|
||||
"trunc": "std.math",
|
||||
"ualign_down": "std.math.uutils",
|
||||
"ualign_up": "std.math.uutils",
|
||||
"uceildiv": "std.math.uutils",
|
||||
"udiv_unchecked": "std.math.uutils",
|
||||
"udivmod": "std.math.uutils",
|
||||
"udivmod_unchecked": "std.math.uutils",
|
||||
"ufloordiv": "std.math.uutils",
|
||||
"ulp": "std.math",
|
||||
"umod": "std.math.uutils",
|
||||
"unlikely": "std.sys.intrinsics",
|
||||
"unlink": "std.os",
|
||||
"unsafe_alloc": "std.memory.alloc",
|
||||
"unsafe_cast": "std.ffi",
|
||||
"unsafe_destroy_n": "std.memory.memory",
|
||||
"unsafe_memcmp": "std.memory",
|
||||
"unsafe_memcpy": "std.memory",
|
||||
"unsafe_memmove": "std.memory.memory",
|
||||
"unsafe_memset": "std.memory.memory",
|
||||
"unsafe_memset_zero": "std.memory.memory",
|
||||
"unsafe_stack_allocation": "std.memory",
|
||||
"unsafe_uninit_copy_n": "std.memory.memory",
|
||||
"unsafe_uninit_move_n": "std.memory.memory",
|
||||
"unsetenv": "std.os",
|
||||
"y0": "std.math",
|
||||
"y1": "std.math",
|
||||
"zip": "std.iter"
|
||||
},
|
||||
"processor": "stdindex",
|
||||
"provenance": {
|
||||
"commit": "c6fa49f712fe15c99d0461ad2baaf2a15cbc58ce",
|
||||
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
||||
"path": "stdlib/std",
|
||||
"repo": "modular/modular",
|
||||
"source": "modular",
|
||||
"zipSha256": "5220972c0e4d2a447170592f329361b3e9923f3a30162135d22717913a09b2d6"
|
||||
},
|
||||
"raisingPrelude": [
|
||||
"atof",
|
||||
"atol",
|
||||
"input",
|
||||
"next",
|
||||
"open"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user