Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Copy the code below into a file named Makefile in your local build directory for this project, the same directory where alphacalc.l and alphacalc.y are located.
Read and follow comment about TABs at top of the file.
I have it configured to build with gcc and -std=c17, although this project does not use any features specific to the c17 standard. If you use a different compiler or an older gcc...
Posted 10-01-2021 at 07:28 PM byastrogeek Updated 10-12-2021 at 11:52 AM byastrogeek(Test cases, rearrange page)
Alphanumeric Calculator: The Source
To make it easy to find the source code I have moved the links to the top, along with links to test cases for my code and your build! You will find a brief discussion of the origins of this project below, as well as instructions for building and running the program.
The Source Code
Two source files and a Makefile are all that is required to build this project. Follow each of the links below to copy/paste the source...
Posted 03-14-2019 at 04:58 PM byastrogeek Updated 03-15-2019 at 12:14 PM byastrogeek(Forgot aggregate column)
... Or, How To Get From Arithmetic to Relational Algebra and Enjoy The Trip!
Quote:
Originally Posted by dogpatch
I found the 'NP Complete' link quite interesting, even though i still don't fully grasp the concept, nor your explanations about sets, etc.
I would very much like to try to explain some of the ideas of sets, how those are important to some aspects of our fun with the newyears puzzle, and why that takes us into the domains of graph theory and relational databases. In doing so, I do not pretend...
Posted 03-12-2019 at 03:48 PM byastrogeek Updated 03-12-2019 at 05:02 PM byastrogeek(typos)
With a now complete solution set and minimal set of generating expressions, it seems reasonable to think about inserting these into a relational database in order to more easily explore the landscape. To do so we need a normalized data model to query, and methods of capturing the data into the model or schema, both of which are easily within reach.
First, it is important to realize how many unique result sets there are, and how these are related to the ten thousand four digit "years"....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.