Home
last modified time | relevance | path

Searched refs:nyan (Results 1 – 25 of 1112) sorted by relevance

12345678910>>...45

/dports/lang/nyan/nyan-3c263e2/nyan/lexer/
H A Dflex.lpp2 // Copyright 2016-2018 the nyan authors, LGPLv3+. See copying.md for legal info.
6 * nyan language lexer
16 #define impl static_cast<nyan::lexer::Impl *>(yyextra)
56 \"(\\.|[^\\"])*\" { impl->token(nyan::token_type::STRING); }
67 "@" { impl->token(nyan::token_type::AT); }
69 "pass" { impl->token(nyan::token_type::PASS); }
72 "from" { impl->token(nyan::token_type::FROM); }
73 "as" { impl->token(nyan::token_type::AS); }
75 {int} { impl->token(nyan::token_type::INT); }
77 {id} { impl->token(nyan::token_type::ID); }
[all …]
/dports/lang/nyan/nyan-3c263e2/buildsystem/templates/
H A DnyanConfig.cmake.in1 # Copyright 2017-2017 the nyan authors. See copying.md for legal info.
3 # cmake configuration file for nyan.
4 # to be found by find_package(nyan).
8 # nyan_VERSION -- nyan library version number
9 # nyan::nyan -- target library to link to
12 # nyan_FIND_QUIETLY -- if true, don't emit the "found nyan" message
14 # nyan automatically provides all paths and includedirs through cmake.
17 # find_package(nyan REQUIRED CONFIG)
18 # target_link_libraries(your_target nyan::nyan)
30 check_required_components(nyan)
[all …]
/dports/lang/nyan/nyan-3c263e2/doc/
H A Dnyan.md1 nyan section
82 * nyan is typesafe
92 * *`nyan::Object`*: In a .nyan file, you write down `nyan::Object`s
109 * **nyan::Patch**: is a `nyan::Object` and denominates a patch
119 * A `nyan::Object` can inherit from an ordered set of `nyan::Object`s
550 ## nyan interpreter
552 `.nyan` files are read by the nyan interpreter part of `libnyan`.
554 * You feed `.nyan` files into the `nyan::Database`
618 ### Embedding nyan
685 load: pack.nyan
[all …]
H A Dbuilding.md1 # Building nyan
43 git clone https://github.com/SFTtech/nyan.git
51 cd nyan
59 Other projects can therefore easily find `nyan` **without** installing it
62 `find_package(nyan CONFIG REQUIRED)` will directly provide `nyan::nyan` as a
/dports/games/openage/openage-0.3.0-1262-ga554ab49/doc/nyan/
H A Dnyan.md1 nyan chapter
4 nyan - yet another notation
6 https://github.com/SFTtech/nyan
12 nyan is the data storage format for openage.
27 nyan allows us to have a typesafe hierarchical data storage,
38 [nyan specification](https://github.com/SFTtech/nyan/blob/master/doc/nyan.md)
44 nyan is a general purpose data language,
48 * [openage engine nyan interface](openage-lib.md)
H A Dexamples.md1 openage nyan examples
4 openage will make excessive use of the nyan data storage.
6 This file will help you understand how you'd create nyan files
9 For the beginning, you can look [here](https://github.com/SFTtech/nyan/blob/master/doc/nyan.md) for…
/dports/lang/nyan/nyan-3c263e2/
H A DREADME.md1 nyan - yet another notation
6 **nyan** is a *data description language*,
11 We created nyan because there existed no suitable language to
16 …hub stars](https://img.shields.io/github/stars/SFTtech/nyan.svg)](https://github.com/SFTtech/nyan/…
20 The foundation of **nyan**:
24 **C++17** | nyan core
53 # base_game_data.nyan
87 # elite_strider_mod.nyan
112 Which is totally possible with **nyan**.
118 Read the [specification](doc/nyan.md).
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/structs-enums/
H A Dclasses-cross-crate.rs8 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
9 nyan.eat(); in main()
10 assert!((!nyan.eat())); in main()
11 for _ in 1_usize..10_usize { nyan.speak(); }; in main()
12 assert!((nyan.eat())); in main()
H A Dclasses.rs46 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
47 nyan.eat(); in main()
48 assert!((!nyan.eat())); in main()
49 for _ in 1_usize..10_usize { nyan.speak(); }; in main()
50 assert!((nyan.eat())); in main()
H A Dclass-implement-trait-cross-crate.rs54 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
55 nyan.eat(); in main()
56 assert!((!nyan.eat())); in main()
57 for _ in 1_usize..10_usize { nyan.speak(); }; in main()
58 assert!((nyan.eat())); in main()
H A Dclass-methods-cross-crate.rs8 let mut nyan : cat = cat(52, 99); in main() localVariable
10 assert_eq!(nyan.how_hungry, 99); in main()
12 nyan.speak(); in main()
13 assert_eq!(nyan.meow_count(), 53); in main()
H A Dclass-poly-methods-cross-crate.rs8 let mut nyan : cat<char> = cat::<char>(52_usize, 99, vec!['p']); in main() localVariable
10 assert_eq!(nyan.how_hungry, 99); in main()
12 nyan.speak(vec![1_usize,2_usize,3_usize]); in main()
13 assert_eq!(nyan.meow_count(), 55_usize); in main()
H A Dclass-methods.rs24 let mut nyan: cat = cat(52, 99); in main() localVariable
26 assert_eq!(nyan.how_hungry, 99); in main()
28 nyan.speak(); in main()
29 assert_eq!(nyan.meow_count(), 53); in main()
H A Dclass-cast-to-trait.rs57 let mut nyan = cat(0, 2, "nyan".to_string()); in main() localVariable
58 let mut nyan: &mut dyn noisy = &mut nyan; in main() localVariable
59 nyan.speak(); in main()
H A Dclass-implement-traits.rs58 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
59 nyan.eat(); in main()
60 assert!((!nyan.eat())); in main()
62 make_speak(nyan.clone()); in main()
/dports/lang/nyan/nyan-3c263e2/nyan/
H A Dnyan_tool.h7 namespace nyan {
47 struct hash<nyan::option_flag> {
48 size_t operator ()(const nyan::option_flag &x) const {
57 struct hash<nyan::option_param> {
58 size_t operator ()(const nyan::option_param &x) const {
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/mut/
H A Dmutable-class-fields.stderr1 error[E0594]: cannot assign to `nyan.how_hungry`, as `nyan` is not declared as mutable
4 LL | let nyan : Cat = cat(52, 99);
5 | ---- help: consider changing this to be mutable: `mut nyan`
6 LL | nyan.how_hungry = 0;
/dports/lang/nyan/nyan-3c263e2/extra/syntax_highlighting/
H A DREADME.md3 Syntax highlighting for nyan can be added to text editors and IDEs of your choice.
7 * copy `kate/nyan.xml` into the folder `~/.local/share/org.kde.syntax-highlighting/syntax`
12 …on from the [VS Code marketplace](https://marketplace.visualstudio.com/items?itemName=SFTtech.nyan)
14 …extension is maintained in its own Github repository [nyan-vscode](https://github.com/SFTtech/nyan
/dports/games/openage/openage-0.3.0-1262-ga554ab49/doc/
H A Dbuilding.md42 CR nyan (https://github.com/SFTtech/nyan)
80 ### nyan installation
82 `openage` depends on [`nyan`](https://github.com/SFTtech/nyan), which is the
87 no "`make install`"). Just clone the repo somewhere and [follow the `nyan`
90 * Alternatively, `openage` can download `nyan` automatically. This is
91 activated with `./configure --download-nyan ...` or `cmake
94 **Only install** `nyan` when packaging it. You don't need to clobber your
97 `cmake` looks for `nyan` in the user package registry
98 (`~/.cmake/packages/nyan/`) and the system package registry
99 (`/usr/lib/cmake/nyan/`) for `nyanConfig.cmake`.
[all …]
/dports/lang/nyan/nyan-3c263e2/nyan/value/
H A Dvalue_holder.cpp8 namespace nyan { namespace
68 size_t hash<nyan::ValueHolder>::operator ()(const nyan::ValueHolder &val) const { in operator ()()
69 return hash<nyan::Value *>{}(val.get_value()); in operator ()()
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/derivative-2.2.0/tests/
H A Drustc-class-implement-traits.rs74 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
75 nyan.eat(); in main()
76 assert!((!nyan.eat())); in main()
78 make_speak(nyan.clone()); in main()
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/derivative-2.2.0/tests/
H A Drustc-class-implement-traits.rs74 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
75 nyan.eat(); in main()
76 assert!((!nyan.eat())); in main()
78 make_speak(nyan.clone()); in main()
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/derivative-2.2.0/tests/
H A Drustc-class-implement-traits.rs74 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
75 nyan.eat(); in main()
76 assert!((!nyan.eat())); in main()
78 make_speak(nyan.clone()); in main()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/derivative-1.0.3/tests/
H A Drustc-class-implement-traits.rs74 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
75 nyan.eat(); in main()
76 assert!((!nyan.eat())); in main()
78 make_speak(nyan.clone()); in main()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/derivative-2.1.1/tests/
H A Drustc-class-implement-traits.rs74 let mut nyan = cat(0_usize, 2, "nyan".to_string()); in main() localVariable
75 nyan.eat(); in main()
76 assert!((!nyan.eat())); in main()
78 make_speak(nyan.clone()); in main()

12345678910>>...45