I have few questions over System side programming.
- Can Python be used for both Web and System like perl.
- Which language would you prefer me. I have a little knowledge on JavaScript and Java.
- If i want to develop a compiler what should i know and where should i st开发者_开发知识库art.
Yes.
Use a language that the people around you use.
You should know about lexing, parsing, symbol tables, abstract syntax trees, optimisation, intermediate languages, stack-based and register-based architectures, code generation, object file formats, linkers, loaders, etc. There are many resources available in other questions about building compilers here on Stack Overflow.
Well I'd definitely go with Python. It's an excellent language for just about everything, especially suitable for web/system development. Learning Python was the best thing I ever did. I used Java/PHP for a few years and I never look back. I reached a higher level of competency, faster with Python than any other language I've tried to learn.
As far as developing compilers go, you'll be in good company with the PyPy folks, so that's all the more reason to learn the language. PyPy is both a fast Python interpreter implementation (with JIT) and an advanced compiler/framework for implementing dynamic languages.
sure BASH and one full featured scripting language. I prefer Perl, but it is up to you.
for the 3.) You should study bison or yacc, lex, and/or any other grammar-parsers (compiler-compilers).
精彩评论