Answers.Body: <p>No, there is no automated way to convert source files from other programming languages into un-compiled NXT-G code. The .rbt format is very complex, so writing a program to interpret programs written in other languages and generate a proper .rbt file with properly placed and configured blocks would be an incredibly time-consuming and tedious task that wouldn't be worth the effort. You'd be better off manually translating each program manually.</p>
  
  <p>As for your second question, it is possible to make custom blocks for NXT-G, although not in any text-based languages. Custom blocks are made in LabView, a graphical programming language that has a wide variety of uses, including programming NXT robots. See this tutorial on creating custom NXT-G blocks if you're interested:</p>
  
  <p><a href="ftp://ftp.ni.com/evaluation/mindstorms/NXT_Creating_MINDSTORMS_Blocks.pdf" rel="nofollow">ftp://ftp.ni.com/evaluation/mindstorms/NXT_Creating_MINDSTORMS_Blocks.pdf</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-23T01:02:07.973Z
Answers.LastActivityDate: 2014-09-24T00:08:38.247Z
Answers.LastEditDate: 2014-09-24T00:08:38.247Z
Answers.UserDisplayName: HaydenStudios
Body: <p>Is there a way to convert code from one or more 3rd party programming languages used for programming the NXT into a program that can be loaded up in NXT-G? If not, do any text-based languages provide support for making custom blocks that can be imported into NXT-G?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-22T22:17:53.327Z
Comments.Text: possible duplicate of [Is there any other way to program the Lego Mindstorms NXT other than the provided software?](http://bricks.stackexchange.com/questions/679/is-there-any-other-way-to-program-the-lego-mindstorms-nxt-other-than-the-provide)
Comments.UserDisplayName: Nick2253
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-23T00:50:14.873Z
Comments.Text: I disagree. This question is about converting source files from other programming languages into a format readable by NXT-G, not asking what programs exist as an alternative to it.
Comments.UserDisplayName: HaydenStudios
Tags: <nxt><software><nxt-g>
Title: Convert 3rd party NXT programming language code to NXT-G program?
UserDisplayName: user124930
ThreadText: # Convert 3rd party NXT programming language code to NXT-G program?
  
  (Asked by: username_0 on 2014-09-22)
  
  Is there a way to convert code from one or more 3rd party programming languages used for programming the NXT into a program that can be loaded up in NXT-G? If not, do any text-based languages provide support for making custom blocks that can be imported into NXT-G?
  
  **Tags:** nxt, software, nxt-g
  > **Comments:**
  > **username_1**: possible duplicate of [Is there any other way to program the Lego Mindstorms NXT other than the provided software?](http://bricks.stackexchange.com/questions/679/is-there-any-other-way-to-program-the-lego-mindstorms-nxt-other-than-the-provide)  
  > **username_2**: I disagree. This question is about converting source files from other programming languages into a format readable by NXT-G, not asking what programs exist as an alternative to it.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-09-23. Score: 2
  
  No, there is no automated way to convert source files from other programming languages into un-compiled NXT-G code. The .rbt format is very complex, so writing a program to interpret programs written in other languages and generate a proper .rbt file with properly placed and configured blocks would be an incredibly time-consuming and tedious task that wouldn't be worth the effort. You'd be better off manually translating each program manually.
  
  As for your second question, it is possible to make custom blocks for NXT-G, although not in any text-based languages. Custom blocks are made in LabView, a graphical programming language that has a wide variety of uses, including programming NXT robots. See this tutorial on creating custom NXT-G blocks if you're interested:
  
  <ftp://ftp.ni.com/evaluation/mindstorms/NXT_Creating_MINDSTORMS_Blocks.pdf>
  
  
  ---
  
  