Code Monkey home page Code Monkey logo

opencomal's People

Contributors

dbane-em avatar poldy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opencomal's Issues

Running OpenCOMAL in Docker

Before I explain my question/issue, I'll first give a bit of context. I'm one of the maintainers of a Primes repository that's linked to a YouTube video series. The video series documents a "drag race" between computer languages. It does this by comparing the execution speed of implementations of the Sieve of Eratosthenes algorithm, with some specific characteristics.

Over time, we've been able to add 71 languages to the project by a conservative count, including quite a few that are clearly not serious contenders for the top spot. These include languages like Bash, PowerShell, AWK, Octave, IDL, Prolog, (La)TeX, SQL, Emojicode and Befunge, to name a few. Personally, I have a soft spot for this type of submission, maybe due to my long-running interest in the history of computing, and "operational retro computing" in particular. In fact, my own initial contribution was an implementation in MIXAL.

At the moment, COMAL is not in the collection of languages yet. However, Dave, the initiator of the project and the creator of the YouTube video series, would really like to add this language in particular. He has found someone who already authored an implementation in COMAL.
I will work with the author to open a PR on the Primes repo to add his solution's source code, but I would really like to also include it in the daily benchmark runs. For this, his source would need to be compiled and executed in a Docker image.

My question is therefore if anyone has any experience with getting OpenCOMAL to build and run within Docker.
Full disclosure: I took a first stab at building the current version of this repo yesterday on Ubuntu 20.04 within and outside of Docker, and haven't been able to make that work. I've since then taken note of #2, and will try again with tag 0.3.0 over the coming weekend.

In the meantime, if anyone can give me any pointers towards how to do make OpenCOMAL work within Docker to save me some trial and error, it would be highly appreciated.

Building under MacOS Big Sur failed

I'm unable to build OpenCOMAL under MacOS Big Sur.
Readline (Homebrew) and current Xcode CLI-Tools are installed.

Build-Error:

$ make OPSYS=macos     

../tools/bumpbuild BUILD
make[1]: *** No rule to make target `../cii/src/except.o', needed by `../tools/mkcatdefs'.  Stop.
make[1]: *** Waiting for unfinished jobs....
Build number is 729
../tools/genversion
make: *** [all] Error 2

Sorry, i tried to find a fix, but I have no clue.

Any suggestions?

PRINT "one"; 2^3 gives error

The above gives a "FATAL error: Invalid marker in mem_free()" error.

PRINT 2^3 and PRINT 1; 2^3 work, this is the prnum_list rule in pdcpars.y

For the print_list rule, PRINT "one"; 2+3 and all other arithmetic operators work, I think the difference here is that ^ (powerSYM) is the only %right-associative token.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.