forked from adl-lang/adl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9007c6f
commit 72067b0
Showing
22 changed files
with
74 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@adl-lang/runtime", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"dependencies": { | ||
"base64-js": "^1.5.1" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"extends": "tsconfig/base.json", | ||
"include": ["."], | ||
"exclude": ["dist", "build", "node_modules"], | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
// "target": "es2020", | ||
// "module": "es2020", | ||
"lib": [ | ||
"es2020", | ||
] | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
use compiler::cli::run_cli; | ||
use log::LevelFilter; | ||
use std::io::Write; | ||
|
||
fn main() { | ||
// // useful for recursive stack overflows | ||
// unsafe { backtrace_on_stack_overflow::enable() }; | ||
|
||
env_logger::init(); | ||
env_logger::builder() | ||
// .format_module_path(true) | ||
.format(|buf, record| { | ||
if let (Some(f), Some(l)) = (record.file(), record.line()) { | ||
writeln!(buf, "[{} {}:{}] {}", record.level(), f, l, record.args() ) | ||
} else if let Some(m) = record.module_path() { | ||
writeln!(buf, "[{} {}] {}", record.level(), m , record.args() ) | ||
} else { | ||
writeln!(buf, "[{}] {}", record.level(), record.args() ) | ||
} | ||
}) | ||
.filter(None, LevelFilter::Info) | ||
.init(); | ||
|
||
// env_logger::init(); | ||
let exit_code = run_cli(); | ||
std::process::exit(exit_code); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
rust/compiler/tests/test1/rs-output/adl/sys/annotations.rs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
rust/compiler/tests/test2/rs-output/adl/sys/annotations.rs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.