Is there a way to measure duplicate code? [closed] - language-agnostic

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
I'm looking for a code duplication tool that is language agnostic. It's easy to find language specific code duplication tools (for Java, C, PHP, ...), but I'd like to run some code duplication analysis on a templates in a custom syntax.
I don't care about advanced parsing of the syntax, just straight line based raw string comparison is fine. Whitespace insensitive matching would be a plus, but not required. (It's not that hard to normalize/eliminate whitespace myself.)
Does anybody know a tool that can be (mis)used for something like this?

Have a look Simian, you can use it for Java, C#, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even plain text files.
Also, a similar question here.

You can also take a look at Sonar http://www.sonarsource.org/

Take a look at this one https://siderlabs.com/
At this moment it support C, C++, Cuda and others Python, PHP, Java, Javascript coming soon

Related

Wrapping a C code program into R: alternatives to Rcpp? [closed]

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 have a package written entirely in C, which creates a mySQL table and executes queries.
Given that R is written in C, are there alternatives to using Rcpp to write wrappers around this C code to construct an R package? Or is Rcpp the best method available (or only method available) to do this?
For backward compatibility to S lang, you may find "useful" learn something about:
.C()
.Call()
Rcpp is nowadays the most modern, performant and closest option to reuse your existing code.
There is no need for anything to call C code from R, and this is documented in Writing R Extensions. So if you want to avoid using Rcpp for some reason (and I can think of a few), you can just use the R C api. It typically requires more work and more care.
There are many packages on CRAN that use C or C++ without Rcpp, purrr comes to mind as an example.

are there any alternatives to yUML [closed]

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 an alternatives to yUML, preferably open source.
Sure yUML is great and I really like it, but I would like to be able to extend it.
I'm also interested in other services in the same direction (diagram generation), but I'm not looking for any (UML)desktop tools.
Some suggestions of textual modeling tools. For instance, take a look at PlantUML
Scruffy can draw some yUML diagrams.
Scruffy-Server is a newly made web server frontend for Scruffy which has a rendering and syntax almost identical to yUML.
At the moment it doesn't have the PDF/Json/SVG(or PS) export options, but those might be coming. On the other hand it is very fast and has a lean interface.
PS: I might a little be biased as I made it.
Perhaps take a look at jsUML2. It doesn't provide a textual syntax for specifying diagram - it provides a js-based api instead. However the api is very easy to use and it's open source so extensible. They have a demo app built using it here.
hth.
Some years ago I've developed an open source alternative based on Graphviz.
It's basic and only work for relationship diagrams, but it can be extended.
The output look is very similar to yUML.
Here's the link: http://web.fi.uba.ar/~ssantisi/works/glumly/

Tool for building intelligent agent? [closed]

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 7 years ago.
Improve this question
Suggest me any open source based platform/IDE/framework/toolkit for developing intelligent agent. I don't have any background in this area, would like to use a tool or any tutorial in building intelligent agent.
If you don't have any background at all, I suggest you start with something simple.
I had quite a good experience with dmangame, a simple Python engine where you can script the behaviour of agents.
The good point is that the installation is very simple, you know where to code your Python scripts for AI, there is a nice API for it. And you've got a nice graphical interface to see directly what you code.
Edit : By the way, look at this similar question
Weka is probably the most comprehensive open source AI toolkit. It's positioned as a tool for "data mining" but don't let that put you of - it's a general toolset for machine learning which is exactly what you need if you want to build an intelligent agent.
You can use any IDE you like with it (it's Java based so that gives you a range of great open source IDEs such as Eclipse or Netbeans, but you can also call the Weka libraries from other languages if you like).
It also has some of its own tools build it (for visualisation and exploring data sets etc.)

Open source projects written in a functional programming language [closed]

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 7 years ago.
Improve this question
Are there any open source projects out there that are written in a functional programming language and that people can contribute on? I am trying to increase my area of expertise to a functional programming language and I think contributing to a project might be the way to go. Maybe some OCaml or Lisp projects?
MLdonkey is written in OCaml.
Of course various libraries for functional languages are also generally written in the respective language. So you can find a lot of projects on the language's "library hub". For example for haskell there's hackage, which is full of open source haskell projects.
SourceForge's projects written on:
OCaml (187)
Lisp (436)
Common Lisp (111)
Erlang (110)
http://github.com/languages/OCaml
http://github.com/languages/Common%20Lisp
http://github.com/languages/Erlang
A few of the popular NoSQL databases are written in Erlang (if you consider that to be a functional language, that is), including CouchDB and Riak. Both are open-source, and both still under active development.
Most of EMACS is written in elisp.
Ejabberd written by Erlang seems to be a chat server that is mature and active.(as #skaffman said, if you consider Erlang as a functional programming language).

Looking for a particular Common Lisp implementation [closed]

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 Common Lisp implementation I ran across once, sometime in the past year or two. I only remember a few things, and I don't know how to search for it based on these facts, so maybe somebody here can help.
it was open-source, but wasn't one of the big ones (SBCL, CMUCL, MCL, etc.)
it was likely incomplete; it looked almost more like an exercise in writing the simplest possible self-hosted Common Lisp
the main webpage was plain black-on-white, and had 2 columns, where the left column was a link to the source file for a particular area of functionality (loop, format, clos, etc.), and the right column was a link to the tests for that functionality
the source files themselves were pretty-printed for the web, with syntax highlighting that looked kind of like an old Redhat Emacs default config: slate-gray background, etc.
Where can I find this Lisp implementation?
Thanks!
I don't know which one you are referring too, but you can find a list of Common Lisp Implementations here.
Is there any particular reason why this Lisp is grabbing your attention now?
Its hard to pin down, but open-source + minimalistic + incomplete sounds vaugely similar to Paul Graham's Arc programming language.