09-05-2010
Java Interpreter
Hello guys - do you have any sample program implementing UNIX commands in an interpreter with Java? I can look up the simple ones such "ls" etc and then write my own commands.
I would appreciate it.
7 More Discussions You Might Find Interesting
1. Programming
While trying out my hand at writing an interpreter, I was wondering about a a few issues one of which is the following: When I run a command such as jobs in the shell, I get a list of all the background jobs that are running... But if I need my interpreter to run that command, how would I be doing... (34 Replies)
Discussion started by: Legend986
34 Replies
2. UNIX for Dummies Questions & Answers
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs.
i need a very short and simple one, just for the compiling part, in UNIX
Respect (4 Replies)
Discussion started by: zlatan005
4 Replies
3. UNIX for Dummies Questions & Answers
#!/usr/bin/m4
when running m4 scripts with "#!/usr/bin/m4" they are executed properly, but "#!/usr/bin/m4" is printed out - how to avoid it?
Thanks in advance. (5 Replies)
Discussion started by: Action
5 Replies
4. Solaris
I just started learning python on and working on sun solaries,
#!/usr/bin/env python
Is not recognising the intrepreter on my sun solaries could any one please help me find this.
Thanks - Ann:b: (8 Replies)
Discussion started by: Haque123
8 Replies
5. Shell Programming and Scripting
Hi. My name is Caleb (a.k.a RagingNinja) form the whited00r forums. (Whited00r makes custom firmware for iOS devices).
I have been learning and creating simple shells scripts. I have been recently using VIM for Windows or using VirtualBox to run the UBUNTU OS within VirtualBox to create my shell... (2 Replies)
Discussion started by: RagingNinja
2 Replies
6. Linux
Can you explain me what is ment by interpreter files ??
Why and how they are used?? (1 Reply)
Discussion started by: kkalyan
1 Replies
7. UNIX for Dummies Questions & Answers
I am looking for a simple BASIC Interpreter written in a shell scripting language.
For me something like this would be a great learning tool...
After much goggle eyed Googling I came upon this:-
https://gist.github.com/cander/2785819
It is small and I haven't tried it yet as I am at work... (6 Replies)
Discussion started by: wisecracker
6 Replies
JFLEX(1) General Commands Manual JFLEX(1)
NAME
jflex - a lexical analyzer generator (also known as scanner generator) for Java
SYNOPSIS
jflex <options> <input-files>
DESCRIPTION
JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm). It is also a rewrite of the very
useful tool JLex. JFlex is designed to work together with the LALR parser generator CUP, and the Java modification of Berkeley Yacc
BYacc/J. It can also be used together with other parser generators like ANTLR or as a standalone tool.
OPTIONS
-d <directory>
write generated file to <directory>
--skel <file>
use external skeleton <file>
--switch, --table, --pack
set default code generation method
--jlex strict JLex compatibility
--nomin
skip minimization step
--nobak
don't create backup files
--dump display transition tables
--dot write graphviz .dot files for the generated automata (alpha)
--verbose, -v
display generation progress messages (default)
--quiet, -q
display errors only
--time display generation time statistics
--version
print the version number of this copy of jflex
--info print system + JDK information
--help, -h
print this message
AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>, for the Debian project (but may be used by others).
October 2005 JFLEX(1)