@@ -211,7 +211,7 @@ where
211
211
Ok (serde_json :: to_string (context )? )
212
212
}
213
213
}
214
- #
214
+
215
215
pub struct ParseFromJsonString ;
216
216
217
217
impl <Context > StringParser <Context > for ParseFromJsonString
@@ -272,8 +272,8 @@ of context-generic programming in Rust. Without it, programming with CGP would
272
272
become too verbose and full of boilerplate code.
273
273
274
274
On the other hand, the use of ` cgp ` macros makes CGP code look much more like
275
- programming in a _ domain-specific language_ (DSL) than in regular Rust code .
276
- In fact, one can argue that CGP acts as a _ language extension_ to the base
275
+ programming in a _ domain-specific language_ (DSL) than in regular Rust.
276
+ In fact, one could argue that CGP acts as a _ language extension_ to the base
277
277
language Rust, and almost turn into its own programming language.
278
278
279
279
In a way, implementing CGP in Rust is slightly similar to implementing
@@ -284,8 +284,8 @@ a core language feature in future programming languages.
284
284
Perhaps one day, there might be an equivalent of C++ to replace CGP-on-Rust.
285
285
Or perhaps more ideally, the core constructs of CGP would one day directly
286
286
supported as a core language feature in Rust.
287
- But until that happens, the ` cgp ` crate serves as a preview of how
288
- context-generic programming can be done in Rust, and how it can help
287
+ But until that happens, the ` cgp ` crate serves as an experimental ground on
288
+ how context-generic programming can be done in Rust, and how it can help
289
289
build better Rust applications.
290
290
291
291
In the chapters that follow, we will make heavy use of ` cgp ` and its
0 commit comments