hamousavi / walnut Goto Github PK
View Code? Open in Web Editor NEWAutomated Theorem Prover for Automatic Words
License: GNU General Public License v3.0
Automated Theorem Prover for Automatic Words
License: GNU General Public License v3.0
The exact lines with the issue:
Walnut/src/Automata/NumberSystem.java
Lines 112 to 113 in 6e074ef
Issue was discovered when adding a new number system that does not have symmetric representation restrictions for LSD and MSD first (unlike Fibonacci and Tribonacci bases).
If the Main.prover class is run from a directory that is not Walnut/bin, i.e., the program is run using
java -cp /pathToWalnut/bin Main.prover
from a directory that is not Walnut/bin, then files in the Word Automata Library do not load correctly. This seems to be due to the setPaths() method in the Main.UtilityMethods class. The method only handles what to do if the user's working directory is already Walnut/bin.
public static void setPaths(){
String path = System.getProperty("user.dir");
if(path.substring(path.length()-3).equals("bin"))
dir = "../";
}
(Use case arose when writing a program that runs Walnut as a subprocess).
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.