libhoare icon indicating copy to clipboard operation
libhoare copied to clipboard

Compilation errors

Open gizmo1904 opened this issue 7 years ago • 2 comments

When I try to build my project with libhoare I'll get many compilation errors. I added the dependency to my Cargo.toml like this: [dependencies.hoare] git = "https://github.com/nick29581/libhoare.git"

As a result I got 13 erros like this: error[E0425]: cannot find function intern in module token --> C:\Users\user1\.cargo\git\checkouts\libhoare-e8ae5b947a6d22d6\108e29a\libhoare/lib.rs:42:42 | 42 | reg.register_syntax_extension(token::intern("precond"), | Am I doing something wrong? Thanks in advance.

gizmo1904 avatar Feb 12 '18 10:02 gizmo1904

I think the code just needs updating - it uses unstable features and hasn't been kept up to date recently.

nrc avatar Feb 12 '18 21:02 nrc

I am learning Rust right now and as a modern language, I think this is absolutely a must-have feature. IMHO Rust is already fully-packed with a cool syntax, default mutable variables, dependency management and tons of other features which justify migrating from i.e. C++ over to it.

I've tried compiling this as well but had errors. Since I am new to the language and still "prospecting", I currently cannot help with the development.

mihaigalos avatar Jan 08 '19 08:01 mihaigalos