Skip to main content

Module os_lib

Module os_lib 

Source
Expand description

AtmOS の各種ライブラリ機能(OS 標準ライブラリ相当)。

カーネル本体(crate::kernel)とは独立した、より上位のアプリケーション向け機能を収める。

  • aura: .aura スクリプト言語処理系
  • ecma: ECMAScript 中核エンジン(純粋 JS 処理系)
  • web_apis: ブラウザ Web API 層(DOM・Fetch・XHR・Storage・MSE 等)
  • js: ecma + web_apis の互換再輸出ファサード
  • web_engine: HTML/CSS パーサ・レイアウト・レンダラ(ブラウザエンジン本体)
  • css/layout: CSS カスケード計算・ボックスモデル計算
  • dom: DOM ツリー表現
  • cloud: Google Drive / OneDrive の REST + OAuth2 クライアント
  • h264/h264_decode/h264_golden: H.264 ソフトウェアデコーダ
  • mp3/mp4: 音声・動画コンテナのデコーダ
  • webp: WebP 画像デコーダ(vendoring 版 image-webp)
  • svg: SVG パーサ・簡易レンダラ
  • mml: MML(Music Macro Language)パーサ
  • json: JSON パーサ・シリアライザ

Modules§

aac
aac_tables
aura
Aura: .aura アプリ/REPL 用の独自 Lisp 系スクリプト言語の実行系。
canvas2d
Canvas 2D の変換行列とパス幾何(純粋モジュール)。
clipboard
cloud
Phase 7 外部連携: OAuth2 + Google Drive / GitHub の REST クライアント。
cookie
CookieJar および Cookie 属性パーサー(純粋モジュール)
css
custom_elements
Web Components: Custom Elements 仕様準拠の純粋ロジックモジュール。
deflate_enc
DEFLATE(RFC 1951)の圧縮と、gzip(RFC 1952)・zlib(RFC 1950)の包み。
dom
dom_dataset
W3C HTML Living Standard §7.3.3 / DOMStringMap 準拠 DOM dataset(data-* 属性 ↔ camelCase プロパティ)相互変換および 双方向バインディングの純粋ロジックモジュール。
dom_fragment
W3C DOM Parsing and Serialization: createContextualFragment 純粋処理モジュール
dom_range
W3C DOM Range / Selection 幾何・境界点純粋計算モジュール
dom_selector
W3C Selectors Level 3 / Level 4 準拠の DOM セレクタパーサ。
dom_traversal
W3C DOM Standard §6 Traversal NodeFilter, TreeWalker, NodeIterator の純粋幾何・走査・フィルタ判定ロジック。
ecma
AtmOS ECMAScript 中核エンジン(DOM・Web API を含まない純粋な JS 処理系)。
fmp4
h264
h264_cabac
h264_cabac_tables
h264_decode
h264_golden
h264_slice
js
互換再輸出ファサード(tests/src/ の既存参照パスを維持するための薄い層)。
json
layout
mml
mp3
mp4
mse
W3C Media Source Extensions (MSE) 仕様準拠コアモジュール
mutation_observer
platform
プラットフォームの口(2026-11-19)。
shadow_dom
Web Components: Shadow DOM 仕様準拠の純粋ロジックモジュール。
site_compat
サイト別の対応の実装(SiteHooks。2026-11-19、spec/module_boundaries.md §4 の 5)。
streams
WHATWG Streams Standard 準拠の Streams API コアモジュール
svg
util
小さな共有部品の置き場(2026-11-19)。
viewport
ビューポートの共有値(2026-11-19 layout/values.rs から移動)。
wasm
WebAssembly(バイナリの読み込み decode と実行 exec)。JS の WebAssembly 名前空間は js/builtins/wasm_api.rs。
web_apis
AtmOS ブラウザ Web API 層(DOM・Fetch・XHR・Storage・Performance・MSE・Streams・Worker 等)。
web_engine
HTML パーサ・レイアウトエンジン・レンダラ(ブラウザエンジン本体)。
web_storage
webp
WebP 画像デコーダ(vendoring 版)。
worker
WHATWG HTML Living Standard § 10 準拠の Web Workers コアロジック
xml_parser
W3C XML / SVG 構文解析純粋モジュール