Shop OBEX P1 Docs P2 Docs Learn Events
A C/C++ compiler to emit Spin byte codes? - Page 2 — Parallax Forums

A C/C++ compiler to emit Spin byte codes?

2»

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-12-06 09:31
    I really hope Spin and PASM is not leaving us. I can't imagine Chip would allow that anyway.
    Spin is brilliantly simple and quick to get anything done on the Propeller.
    The Propeller and Spin have been designed together, the work of one man's vision. And that makes for the elegance of the combination.
  • KC_RobKC_Rob Posts: 465
    edited 2013-12-06 09:53
    Heater. wrote: »
    I really hope Spin and PASM is not leaving us. I can't imagine Chip would allow that anyway.
    Spin is brilliantly simple and quick to get anything done on the Propeller.
    The Propeller and Spin have been designed together, the work of one man's vision. And that makes for the elegance of the combination.
    +1 !!!

    I find Spin very easy to use and that I'm quite productive with it (almost surprisingly so). I'll continue using Spin (and PASM) for as long as it's available. For instance, right now I have zero plans to use C at all. The only other languages I've touched on Prop so far have been the several interesting Forths available for it - and that only for my own edification (so far anyway).
  • jazzedjazzed Posts: 11,803
    edited 2013-12-06 11:25
    Heater,

    While I like javascript for what it makes possible with the web (supported by all major browsers), I don't feel that it is on topic for this thread.
  • Martin_HMartin_H Posts: 4,051
    edited 2013-12-06 11:37
    jazzed wrote: »
    Heater,

    While I like javascript for what it makes possible with the web (supported by all major browsers), I don't feel that it is on topic for this thread.

    Jazzed, I'm sorry it's my fault for provoking him.
  • Heater.Heater. Posts: 21,230
    edited 2013-12-06 11:41
    Jazzed.

    You are right, I'll jump off my current pet hobby horse. Those musing just arose from the talk about approaches to introductory programming education.

    JS is no silver bullet in that context, or any other, it's just part of that search for ways to get beginners from zero to first functioning code with the minimum of friction. Which is where the opening post started.
  • jazzedjazzed Posts: 11,803
    edited 2013-12-06 12:12
    Thanks guys.

    Heater. wrote: »
    Jazzed.

    You are right, I'll jump off my current pet hobby horse. Those musing just arose from the talk about approaches to introductory programming education.

    JS is no silver bullet in that context, or any other, it's just part of that search for ways to get beginners from zero to first functioning code with the minimum of friction. Which is where the opening post started.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2013-12-06 12:58
    Thanks, Steve!

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2013-12-06 13:14
    I just tried spin2cpp on s2.spin. Sadly, it did not generate any real code -- just empty-shell .cpp and .h files of a few lines each. I tried it on another Spin file and got actual results, so I know I'm able to get the program to work.

    -Phil

    Addendum: s2.spin is a Unicoded file containing special Propeller characters in the comments. Does that make a difference? -P.
  • ersmithersmith Posts: 6,054
    edited 2013-12-07 19:05
    I just tried spin2cpp on s2.spin. Sadly, it did not generate any real code -- just empty-shell .cpp and .h files of a few lines each. I tried it on another Spin file and got actual results, so I know I'm able to get the program to work.

    -Phil

    Addendum: s2.spin is a Unicoded file containing special Propeller characters in the comments. Does that make a difference? -P.

    Unicode is OK. spin2cpp is getting confused by the comments -- some of them start with {{{ (3 brackets) but end with only 2 }}. Obviously that must be a legal comment, but it isn't something I've seen before. Is that some particular kind of convention?

    I'll try to fix spin2cpp to work with s2.spin -- besides the comments there's also a PASM issue.

    Eric
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2013-12-07 19:24
    ersmith wrote:
    some of them start with {{{ (3 brackets) but end with only 2 }}. Obviously that must be a legal comment, but it isn't something I've seen before. Is that some particular kind of convention?
    Yes, it's one of the autodoc cues. IIRC, PropTool didn't like {{{ }}} for some reason. I think t read it as {{{ }}}, i.e. with an unmatched }.
    I'll try to fix spin2cpp to work with s2.spin -- besides the comments there's also a PASM issue.
    That'd be great! Thanks!

    -Phil
Sign In or Register to comment.