mckaywrigley / ai-code-translator

Use AI to translate code from one language to another.
https://ai-code-translator.vercel.app
3.9k stars 575 forks source link

Pascal language? #4

Closed fredvs closed 1 year ago

fredvs commented 1 year ago

Hello.

Nice project! Do you have plan for conversion from/to Pascal language? Pascal is still highly used ( Delphi, Free Pascal, Turbo Pascal, ...) ( And ChatGPT can deal with it. ) Fre;D

mckaywrigley commented 1 year ago

If you make a PR to add it in the list I'll merge. It's in the CodeBlock component.

LZL0 commented 1 year ago

The project is such a cool idea!

fredvs commented 1 year ago

Huh, sorry, what is a PR ? A Pull Request? If so, on what code?

fredvs commented 1 year ago

I dont see what to add in CodeBlock component.tsx. But I see something in LanguageSelect.tsx.

Is it this that must be added ?:

const languages = [
  { value: 'Pascal', label: 'Pascal' },
mckaywrigley commented 1 year ago

Ah yes sorry - forgot i moved it!