mech-lang / mech Goto Github PK
View Code? Open in Web Editor NEW🦾 Main repository for the Mech programming language. Start here!
Home Page: http://mech-lang.org
License: Apache License 2.0
🦾 Main repository for the Mech programming language. Start here!
Home Page: http://mech-lang.org
License: Apache License 2.0
What is the status of this project? Is it dead like EVE.
Mech Version: 3.0.0
Issue: Variables fail to parse if an underscore is present.
Example:
In the file below, placing an underscore in the variable name will prevent program execution. When viewing the program using mech core
no variable defintion is found for an_underscore
.
TestBlock
#NoSpaces = 5
#an_underscore = 4
display
#mech/output = #NoSpaces
When no underscore is present, everything works fine.
TestBlock
#NoSpaces = 5
#anunderscore = 4
display
#mech/output = #NoSpaces
I'm not sure if this is intended, but I figured I'd open an issue. An open pull request which handles this issue is seen here: https://github.com/mech-lang/syntax/pull/1
Cargo builds successfully on Ubuntu 18.04 but mech test
ing the test dir in the repo, fails. It seems machines/libmech_io.so
has a hard dependency on GLIBC. I know 18.04 is outdated but I think this would fail again when GLIBC is bumped in later versions of the distro.
./mech test ../../tests/
[Testing]
[Loading] ../../tests/math.mec
[Downloading] https://gitlab.com/mech-lang/machines/mech/-/raw/v0.1-beta/src/test.mec
[Compiling] Compiled 4 blocks.
[Running]
[Mech Test] [Downloading] Updating machine registry.
*else: Ok(Ready)
[Mech Test] [Downloading] io v0.0.1
thread 'Mech Test' panicked at 'Can't load library "machines/libmech_io.so": DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29\' not found (required by
machines/libmech_io.so)" }', src/program/src/lib.rs:123:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error] receiving on an empty and disconnected channel
I'm packaging mech-lang for Termux (Android). When I'm cross-compiling for aarch64, arm or i686, I'm getting the following linker error about openssl:
= note: ld: error: /data/data/com.termux/files/usr/lib/libssl.so is incompatible with elf64-x86-64
ld: error: /data/data/com.termux/files/usr/lib/libcrypto.so is incompatible with elf64-x86-64
collect2: error: ld returned 1 exit status
error: could not compile `mech` due to previous error
Error: Process completed with exit code 101.
Interesting project, btw! Is it similar to ROS in scope and application domain? Is there literature (papers, etc) on this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.