devela/lang/mod.rs
1// devela::lang
2//
3//! Language functionality, <abbr title = "Domain Specific Language">DSL</abbr>s
4//! and <abbr title = "Foreign Function Interface">FFI</abbr>s.
5#![doc = crate::doc_!(modules: crate; lang: dsl, ffi, i18n, ling)]
6#![doc = crate::doc_!(newline)]
7//!
8#![doc = crate::doc_!(extends: ffi)]
9//
10// LINKS
11// - https://en.wikipedia.org/wiki/Language | https://es.wikipedia.org/wiki/Lenguaje
12//
13// safety
14#![cfg_attr(feature = "safe_lang", forbid(unsafe_code))]
15
16pub mod dsl; // forth, …
17pub mod ffi; // c, glsl, js, …
18pub mod i18n; // gettext, fluent, …
19pub mod ling; // art, nat, … (linguistics)
20
21crate::items! { // structural access:: _pub_mods, _internals, _all, _always
22 #[allow(unused)] #[doc(hidden, no_inline)]
23 pub use {_always::*, _pub_mods::*};
24
25 mod _pub_mods { #![allow(unused)]
26 pub use super::ffi::_all::*;
27 pub use super::dsl::_all::*;
28 pub use super::i18n::_all::*;
29 pub use super::ling::_all::*;
30 // WIPZONE
31 // pub use super::script::*;
32 }
33 pub(super) mod _internals { #![allow(unused)]
34 pub(crate) use super::ffi::_internals::*;
35 }
36 pub(super) mod _all {
37 #[doc(inline)]
38 pub use super::_pub_mods::*;
39 }
40 pub(super) mod _always { #![allow(unused)] }
41}
42// WIPZONE
43// mod script;