feat(wasm): C2/C3 session boot, wire events, and interact demo
Add BrowserSession with shared entry env, mq_boot/mq_call exports, marqdo wasm build, and a counter page driven only by counter.mq.md. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fb037022ba
commit
aac896b044
17 files changed
+698
-168
No files matched your search
@@ -5,6 +5,7 @@
|
||||
|
||||
pub mod aliases;
|
||||
pub mod ast;
|
||||
pub mod browser_session;
|
||||
pub mod builtin;
|
||||
pub mod bytecode;
|
||||
pub mod capture;
|
||||
@@ -29,6 +30,8 @@ pub mod value;
|
||||
pub mod version_check;
|
||||
#[cfg(feature = "view")]
|
||||
pub mod view;
|
||||
#[cfg(feature = "cli")]
|
||||
pub mod wasm_cli;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
@@ -42,6 +45,8 @@ use crate::interp::Interpreter;
|
||||
use crate::lex::{classify_source, format_lines_dump};
|
||||
use crate::load::{load_module, load_module_from_source};
|
||||
|
||||
pub use browser_session::{value_as_json, BrowserSession};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
||||
pub enum Backend {
|
||||
#[default]
|
||||
|
||||
Reference in new issue
Block a user