DEV Community

Discussion on: Who's looking for open source contributors? (April 2 edition)

Collapse
 
sathish profile image
Sathish

Good to see this. I'm in for learning new things. I have a beginner's and very basic understanding knowledge in Lex & Automata. I hope I can contribute something to the project.

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Requirements are a Linux or OSX machine*. The first thing to do is to follow the BUILD.md file and get the libraries built, and then Leaf. Reporting all the stuff the doesn't work, or isn't clear is helpful.

There isn't much work to be done in parsing at the moment... not saying it couldn't be improved though. It's a custom recursive descent parser. It has two stages, context sensitive tree lexing then AST construction.

*For the pinnacle of adventure there's the option of getting it running on Windows. Likely a painful task.

Thread Thread
 
dubyabrian profile image
W. Brian Gourlie

What are the current challenges to getting it running on Windows?

Thread Thread
 
mortoray profile image
edA‑qa mort‑ora‑y

The biggest challenge is the build process. There are several libraries that need to be installed, and the build scripts would need to be tweaked to work on Windows. From what I've seen there's nothing in the list that isn't available on windows. I'm just personally not familiar with building such things on windows anymore (something like Cygwin might be a good first step, using it's packaging before doing fully native).

The next challenge would be calling convention. This affects when native libraries are called. The essentials are probably fine, so like 95% will work without this. I don't anticipate this to be too difficult, it mainly requires deciphering docs, and compiling C code into LLVM-IR to reverse engineer.