Coder Social home page Coder Social logo

cs2php's People

Contributors

isukces avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cs2php's Issues

please provide build instructions

this is an incredible project;

i would love to work with it;
however, I am having a hard time building it, as the projects are complaining about missing components.

can you either:

  1. provide build instructions
  2. provide a list of dependencies/projects/packages

thanks! help much appreciated!

Error while translating C# code to PHP

Whenever I try to convert a C# Project, cs2php throws the following error:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
This happens with both, Example Projects and self-written ones.
I hope that we can fix the problem as soon as possible, as I'm in urgent need of porting C# Code to PHP.

Not working

After 7 hours of trying to compile and compile the example, nothing happened. Under no circumstances can an example be launched. Lay out the working version of the libraries at least for file hosting, if so are afraid of violating the license.

Generic Return Type

At first, that you for sharing this already quite good compiler! I think it has a lot of potential!

Meanwhile, it seems that a generic return type of a function seems to crash the compiler... In addition, both, System.Byte and System.UInt64 do not seems to work so far

The Lang.Php.Webserver is putting extraneous quotes, and other errors.

I compiled the solution, and started testing the various examples with the Lang.Php.Webserver. The DocTypes aren't getting converted to a tag at all, it's just dumped as a string. And everywhere that EchoTagOpen EchoTagBound, or EchoTagClose is used, it dumps excessive double and single quotes into the output. Everything is proper when recompiled to PHP, the problem is only when using the test server. The Following is what the Graphics example sends to the browser when using Lang.Php.Webserver to test:

Doctypes.XHTML_Transitional"<'html'"'>'"<'head'"'>'"<'title'"'>''Dynamic image'</'title'></'head'>"<'body'"'>'"<'p'"'>''PNG'</'p'>
"<'p'"'>'""<'img'" 'src'="'image.php?format=png'" 'alt'="'Demo png image'"' />'"</'p'>
"<'p'"'>''JPG, compression 10'</'p'>
"<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=10'" 'alt'="'Demo jpg image'"' />'"</'p'>
"<'p'"'>''JPG, compression 50'</'p'>
"<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=50'" 'alt'="'Demo jpg image'"' />'"</'p'>
"<'p'"'>''JPG, compression 100'</'p'>
"<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=100'" 'alt'="'Demo jpg image'"' />'"</'p'>
</'body'>
</'html'>

Project not working

I try convert hello world project. No results. No errors. Its write succes - but its no succes. No result file generated
image

Would you think to do what I said please?

I think it makes more sense if you make a plugin that can write php language like 'php tools' on visual studio. Something called 'phptools' is actually very nice but it is not open source code and watch paid video introduction is really nice plugin but the only bad thing is paying not open source

Compile/Usage instructions

Can you add compile and usage instructions to your readme please? I am new to C# and am trying to build your code in Visual Studio and it is giving me a lot of Errors.

Thanks

Compile/ Runtime error

When attempting to execute the compiled EXE file on a C# project, I receive compilation errors (Please see commandline snapshot)

cs2php-error

While Building the Solution, I receive some warnings such as below:

errs

Can you please give me some hints?

Thanks!
David

Use this for c/cpp?

Can this be used for CPP as well? Or if you're bored and wanna port a version to do that? :)
thanks either way!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.