Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE — Parallax Forums

SimpleIDE

$WMc%$WMc% Posts: 1,884
edited 2014-04-26 12:23 in General Discussion
Can SimpleIDE convert Spin code to C,C+.C++,GCC .?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2014-04-25 20:25
    No. There's another separate program that does this (see this).
  • Mike GreenMike Green Posts: 23,101
    edited 2014-04-25 20:27
    There's also a program that goes from C to Spin here.
  • jazzedjazzed Posts: 11,803
    edited 2014-04-25 20:47
    The spinwrap program can create an interface from C/C++ to SPIN code. It calls the SPIN directly through the interface. It does use an extra COG though.

    http://forums.parallax.com/showthread.php/153919-SpinWrap-a-tool-for-allowing-C-or-C-to-use-Spin-Objects?highlight=spinwrap

    There has been some discussion about adding this to SimpleIDE, but there are higher priorities to finish for now.

    Did you get your SimpleIDE install working?
  • $WMc%$WMc% Posts: 1,884
    edited 2014-04-25 20:50
    Thanks Mr.Green
    '
    I'm tired of the can't fined LMM or CMM errors
    '
    Back to PropBasic
    '
    Thanks again.
  • $WMc%$WMc% Posts: 1,884
    edited 2014-04-25 21:56
    I'd like to convert spin to C or it's variants
  • $WMc%$WMc% Posts: 1,884
    edited 2014-04-25 22:09
    I like the C.C++
    '
    It's the same lingo like Basic but it has the goofy "void" stuff .
    '
    What does the "void" do?
    '
    If we left the void stuff out.wouldn't it just be Basic?
  • Dave HeinDave Hein Posts: 6,347
    edited 2014-04-26 06:38
    When used with a function, "void" indicates that the function does not return a value. There are also void pointers, which are defined with "void *". This is a way to define a calling parameter in a function that can accept various types of pointers with the compiler complaining about a type mismatch.
  • $WMc%$WMc% Posts: 1,884
    edited 2014-04-26 12:23
    Thanks Dave
    '
    That makes sense.
Sign In or Register to comment.