• 20 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


















    1. esrap
    2. Expat
    3. No
    4. Nikodemus Siivola, Jan Moringen
    5. While many programming languages offer Packrat parser libraries, Esrap stands out for its simpler rule definition. Esrap uses a defrule macro, offering a specialized language for defining parsing rules, unlike other parsers that might rely on class construction. Class construction can be less intuitive when it comes to understanding the relationship between classes and parsing rules. This makes Esrap a great choice for writing parsers.
    6. DSL
    7. I have no idea.




  • What Lisp programming languages do you use?

    1. Common Lisp
    2. Clojure

    What non-Lisp programming languages do you use?

    Rust, etc.

    What is your favorite Lisp programming language? Why?

    SBCL can compile Common Lisp into optimized native code and the community provides libraries that I need.

    What is your favorite non-Lisp programming language? Why?

    Ruby can be used as AWK with JSON parser and Unicode support.

    What is that one thing about your favorite non-Lisp language that you wish to see in your favorite Lisp language?

    Awk-style one-liner







  • Clippy didn’t tell anything about the macro.

    warning: dereferencing a tuple pattern where every element takes a reference
      --> src/lib.rs:13:9
       |
    13 |         &Some(ref cons_rc) => {
       |         ^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
       = note: `#[warn(clippy::needless_borrowed_reference)]` on by default
    help: try removing the `&` and `ref` parts
       |
    13 -         &Some(ref cons_rc) => {
    13 +         Some(cons_rc) => {
       |
    

    To put #[allow(this_linting_rule)] like this:

        [ $x:expr, $( $y:expr ),* ] => {
    	#[allow(unused_assignments)]
    	{
    

    I got error[E0658]: attributes on expressions are experimental.

    To put it like this:

    #[macro_export]
    #[allow(unused_assignments)]
    macro_rules! list {
        () => {
    	None
    

    It doesn’t work.






  • veer66@lemmy.onetoLinux@lemmy.mlMageia 9 released
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago
    • KDE is the default. So, for KDE users, Mageia with KDE was tested.
    • Mageia comes with Drake tools for configuring almost everything. IMO *drakes look quite friendly. Since they have been around for 20+ years, they must be stable.
    • Each release will be supported for 18 months, which is longer than Fedora.


  • The immutability and configuration of Nix seems so appealing but at this point I’m really comfortable with Arch and it does everything I need in a pretty sane way so idk if I’d switch anytime soon.

    Back in 2018, I had the experience of using NixOS. At that time, I noticed that the Nix language had a striking resemblance to Haskell, which stirred up feelings of anxiety within me.