You are not logged in.
Pages: 1
I'm thinking of creating a parser/analyzer for bash. I know it's not possible to have a complete parse without running it, but for code without `eval` statements and without using variables as commands, it should be possible to at least get something rudimentary to help catch common things.
I've created a git repo to start it off: Bashful
I'll probably do this in either python or perl6. python is more likely to get me help and other coders, but perl6 may give me better tools for parsing. I haven't started coding yet, but I'll start coming up with a set of rules to be implemented in whatever I end up going with.
Last edited by Daenyth (2010-07-29 00:28:21)
[git] | [AURpkgs] | [arch-games]
Offline
[git] | [AURpkgs] | [arch-games]
Offline
You will probably find this useful as well: http://www.gnu.org/software/bash/manual/bashref.html
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1