Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm interested in finding a concatenative language interpreter in Java. Ideally, it should satisfy the following conditions:
It has an interpreter, not (only) a bytecode compiler for JVM.
The language itself has decent documentation, not only a few examples and a "I'll document the rest someday" notice.
The project is not completely abandoned.
In short, I'm looking for a reasonably "alive" concatenative language that can be embedded into Java easily.
I was looking for something similar today and ran into JKat.
I found JOLIE. It says:
JOLIE is a service-oriented programming language, that you can use to build powerful orchestrators.
An orchestrator is a software application that composes other services in order to obtain new functionalities.
Writing an orchestrator means to deal with the composition of service communications
7th is developed as a java script engine named "7th". There are examples how to interact between 7th and the calling Java™ program. Write Engine engine = Engine.create(); in Your Java program. Execute Your 7th program by sending it to the engine in the way: engine.eval(˂Your 7th program here˃).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
https://docs.oracle.com/javase/8/docs/api/overview-summary.html
Just an example:
As we see here, we have multiple initializations and conditions. Where are these limitations defined in documentation?
I wanted to explore the limitations of those control flow statements like how many and what kind of arguments it can take, its limitation of scope, etc.? If you can provide a link to it, that would be great.
for(i=5,j=6,k=7; j<100, k >5, l<1000; i++, j--, k++){
//do lot of things
}
You've linked to the API. That's not where you find this stuff, as those parts are part of java, the language itself, and not any library.
Java consists of many things:
A language specification
A core library which you may assume is available on any VM without having to include it, it's just there.
A VM (that runs class files)
You're looking for the Java Language Specification, where you can find a description of this construct, called the basic for, in Chapter §14.14.1.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a Java API which allows me navigating through HTTP Pages and read the content, just like a Browser. The difficult part of it is that navigation includes performing some actions (e.g. list box selection and submit) and JavaScript interaction (e.g. Yes or No dialog). Is there such API which can be used for this purpose ? Thanks!
If you are willing to diverge a bit from Java and enter the realm of Groovy, you could give a try to Geb and Spock.
Groovy code compiles into Java code and runs into a JRE. Geb is effectively a domain specific language that allows you to model HTML pages with a syntax that is more friendly and intuitive than Selenium. Geb and Spock work well together with can make your life a bit easier. For sure, the is a learning curve, but in the end your tests are much easier to write, read and maintain.
For some learning material you could also have a look at this question.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a code analyses framework in Java for Java.
I want to make a plugin for another very good open source project.
All I search for is a framework that reads a java file and returns a model of all objects, functions... used in the java class. (Like Eclipse Outline)
I already googled but, i couldn't find something useful.
What you need is basically just a parser (you do not need code analytics per se, just an intermediary format suitable for your need). Something simple like http://code.google.com/p/javaparser/wiki/UsingThisParser could already fit your need. If you want something a little more complete, take a look at antlr. It is a generic parser but the default implementation is in Java, and the Java grammar written for it is very good (and written by Antlr implementers).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm wondering if I can access to a Posix Message Queue in Java as I have an application that can't be modified and uses a message queue to talk to other processes.
Is there any api or package that do that?
I know that I can use JNI but I need to do this ASAP so no time to develop that.
Regards.
A bit of Googling found Posix for Java.
Take a look at JNA at GitHub (latest JavaDoc). Quoting the project's description:
JNA provides Java programs easy access
to native shared libraries (DLLs on
Windows) without writing anything but
Java code—no JNI or native code is
required. This functionality is
comparable to Windows' Platform/Invoke
and Python's ctypes. Access is dynamic
at runtime without code generation.
Several projects are using it, including IntelliJ IDEA, Cassandra, and Netbeans.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
The APIs that might be of interest to
developers of Java applications that
need to perform source code analysis
are the Java Compiler API (JSR 199),
the Pluggable Annotation Processing
API (JSR 269), and the Compiler Tree
API.
Any similar api or library for .net?
Visual Studio 2008 comes with a tool that run source code analysis: it gives you the code inheritance depth, lines of code (compiled), mainteinability indexes for your solution/project/clases/methods.
Im not sure if there is a plugin for VS2003-2005 with this functionality.
For the comments of the methods/clases, VS 2008, doesn't have a native tool, however, for VS 2003-2005 there is an open project on sourceforge, that take the comments (''' comments) above the member (namespace, class, method, property) header(which is stored on the classes .xml files) and generetes documentation like JavaDoc. For VS 2008, I have developed a tool that does the same, that I can share if you need.
For code analysis, I've been using the free tool from Microsoft is called FxCop for years.