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
I am looking for a parser, that can extract the abstract syntax tree from a java code. The parser must work under .Net - I need to run it from C#. I know about ANTLR, but I did not find any grammar, that can generate AST as a tree (instead of a flat list).
Can anyone help me ?
Thank you.
Ain't sure if it helps, but JavaCC can generate the AST for you, it has a few Java grammar definition (like this, but take a look on the alternatives), and the developers recently added C++ code generation. That you might be able to link with C#.
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
I'm looking for a function that is able to convert a string from "ㅂㅏㅇㅇㅏㄷㅣ" to "방아디".
I've been stuck on this for a week now. I've found user-created python functions that do exactly what I want: https://github.com/jonghwanhyeon/hangul-jamo , https://github.com/bluedisk/hangul-toolkit , etc.
but unity does not support python, and I need to interface with C# code.
Does anyone know of such a thing for C#?
Thanks everyone~
In the past I have used a code I have found in GitHub that was working great for english-italian, and it's this one https://gist.github.com/grimmdev/979877fcdc943267e44c
I also know another plugin which is more complex but can translate more efficiently : https://github.com/bbepis/XUnity.AutoTranslator
If you can't achieve a Korean translation in this way you should try a System Language class like in this example: https://answers.unity.com/questions/1196793/best-practice-for-multiple-languages.html
With the last method you will Always be able to translate but you need to translate word per word and maybe it's not what you are searching for
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 need a quickstart for the connect ... maybe someone with experience on C# and how to make CSTA Link ? I just find one example but in Perl on Perl CSTA Example, but I still don't know hot to do on C#.
Thanks a lot!
Best Regards.
Siemens exposes CSTA API's. You can use those. There is a CSTADLL which is a collection of software for the Microsoft .NET platform that allows you to perform ACSE and CSTA operations for any of the three CSTA phases.
There are two namespaces you should have a look at: Com.Objsys.Csta.Common and Com.Objsys.Csta.Devices - depending on what exactly you are about to do.
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
In Linux there're many tools to read and convert the comments in code into a HTML/PDF document. I am now working on a .Net project, and I am wondering if we have similar tools to convert the comments in .Net code into a HTML/PDF document?
I tried Google, but did not give me any useful result :( Maybe I am not search with the right keywords.
You might want to look at Sandcastle: http://broadcast.oreilly.com/2010/09/build-html-documentation-for-y.html
Sandcastle is a tool that generates HTML / Visual Studio help bundles based on your code comments and actual code itself.
It's relatively easy to use once you get it set up.
But beware! Big projects can cause OutOfMemoryExceptions.
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 use Json2Csharp.com all the time. Saves me so much work.
Is there a similar tool for XML? (like Xml2Csharp.com)?
There is a XML Schema Definition Tool (Xsd.exe) for such purposes. It is not a website, but could help you to solve your problem.
The same site now supports xml conversion, hope that helps
https://json2csharp.com/xml-to-csharp
Yes, it's there http://xmltocsharp.azurewebsites.net/
and it is more itteligent converter than xsd.exe or Visual Studio "Special Paste" (for xml with many fields it creates pure class with strong typed fields instead class with array of System.Object and Enum for identification fields like VS or xsd.exe do)
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 C# compilers written in C#?
I know of Blue, but it was written in 2001 and only supports C# 1:
Mike Stall's 'Blue' C# Compiler
Ideally, I'm looking for one which supports C# 3.0 - but even 2.0 would be fine.
mono's C# compiler is written in C#. If you need to just parse C# source text, you may use NRefactory.
How about the mono C# compiler, which is written in C# itself. You can browse the source here.
Here is another one, but also quite old, from 2002.