To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8675
    Embedded language support in LPub —Kevin L. Clague
   Hi All, LPub fans may be aware that I'm planning on adding scripting language support into LPub to let the *power* users do what they want, including prototyping new features that may someday be incorporated directly into LPub. The idea behind (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Dan Boger
     (...) perl, of course :) and if you know perl, and not Tcl, I think you should go with what you know. (21 years ago, 8-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Mike Walsh
      "Kevin L. Clague" <kevin_clague@yahoo.com> wrote in message news:HD11Aq.CBL@lugnet.com... (...) [ ... snipped ... ] (...) My personal prefeence would be Tcl. I think it is a better scripting solution for CAD tools than Perl is. I have worked with (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Dan Boger
     (...) it's true that Tcl is probably easier to read and support, over the phone. Perl is more powerful, and therefor harder to understand what a user is trying to do in his code. I'm not sure this would be an issue for LPub though. [snip] (...) perl (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
      Dan and Mike, <snip> Any feedback on what I outlined for scripting interface and such? Kevin (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Mike Walsh
       "Kevin L. Clague" <kevin_clague@yahoo.com> wrote in message news:HD1BFD.1D64@lugnet.com... (...) It looks like you have all of the ones I can think of. Being able to control all of the settings that are available from the GUI is top of the list. It (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Kevin L. Clague
      (...) I disagree. (...) Yes. I can see the need for the name of the generated file at each post processing step. Did you want a list of *all* the files generated for a given entire model as well? (...) Good. This is the kind of stuff I envisioned (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Mike Walsh
       "Kevin L. Clague" <kevin_clague@yahoo.com> wrote in message news:HD4J8p.wEF@lugnet.com... [ ... snippped ... ] (...) From your discussion on how LPub operates, it generates a lot more files than I realized (I never thought about generating the .dat (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Mike Walsh
      "Dan Boger" <dan@peeron.com> wrote in message news:20030408155024....ron.com... [ ... snipped ... ] (...) Not just over the phone, live and in person as well. More powerful does not always mean something s better. Perl allows people to do a lot of (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Dan Boger
      (...) I believe you can write unreadable code in any language - perl perhaps makes it easy for you, but it also lets you write extreamly readable readable code - just a matter of style. [snip] (...) I don't know - that's up to Kevin to decide. I (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Tim Courtney
       (...) That could be another LDraw.org web poll, or a LUGNET poll... -Tim (21 years ago, 8-Apr-03, to lugnet.cad.dev)
      
           Re: Embedded language support in LPub —Dan Boger
       (...) but I'm not talking about LDraw.org users, nor am I talking about LUGNET users. Some things, a poll isn't the right answer to :) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
      
           Re: Embedded language support in LPub —Tim Courtney
       (...) I figured you weren't, but, wouldn't a rough estimate of who uses what *within* the community help? Just a thought. -Tim (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Mike Walsh
       "Dan Boger" <dan@peeron.com> wrote in message news:20030408192657....ron.com... (...) [ ... snipped ... ] (...) [ ... snipped ... ] This would be an interesting statistic to know. I wonder how one might find this out. Somewhere on the web there has (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Dan Boger
      (...) a quick search didn't pull any up, but it was very quick :) [snip] (...) heh. we could start an editor war, or a browser war, if you like instead? :) (...) (URL) Dan Boger dan@peeron.com (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Kevin L. Clague
      I asked an old friend (non-LEGO person) about his preferences, and much to my suprise, he had no opinion. I was at a loss for words, because he *always* has an opinion. He suggests that I do both :^) Kevin (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Steve Bliss
      (...) rofl. I know a few people like that. (...) That sounds like an opinion to me. And it fits my credo: "Never take what's offered. If given the choice between A or B, demand C". Steve (21 years ago, 10-Apr-03, to lugnet.cad.dev)
     
          Re: Embedded language support in LPub —Tim Courtney
      (...) That fits you to a T. LOL! ;-) -Tim (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
     (...) I want to make one thing clear.... The embedded scripting is for the power users... As power users develop new ideas I will encorporate them into LPub in a way that the novice does not require the novice to be an expert. LPub is powerful, yet (...) (21 years ago, 8-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Wayne Gramlich
   (...) Kevin: Before you choose between Tcl and Perl, you might want to broaden your focus a little. Neither Tcl nor Perl are particularly good extensibility languages, even though Tcl was ostensibly designed as an extensibility language. My first (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Dan Boger
     (...) oooh - I like this :) not to mention, it allows LPub to work in "server mode", for multiple clients. I'll write the perl implementation for it :) (21 years ago, 9-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
     (...) I'm not sure what the advantage to this would be. The POV rendering already consumes 100% of your computer for hours, if not days. More clients would just make things worse. What you really want is for LPub to do distributed image rendering (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Don Heyse
     (...) Yeah, but don't define yet another new protocol. Go with a simple protocol that already exists like XML-RPC. (URL) don't much simpler than that. Plus if you look at the implementations page you'll see that tcl, perl, java, and just about (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Wayne Gramlich
     (...) Don: No matter what stategy is taken, there needs to be a documentation effort to describe what features of LPub are going to be provided for extensibility. This is true irrespective of whether a particular scripting language is selected (e.g. (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Don Heyse
     (...) Agreed. It does seem a bit silly to spend all this time discussing languages and protocols when we don't even know what LPUB features will be accessed by said languages and protocols. (...) I'm not sure how you can have those doubts when we (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
     (...) I've tried to outline some of the interface on (URL) think that both topics are relevent now. The protocol is easier to lock down than the extensibility, because that will be forever growing and changing. (...) Is anyone out there interested (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Don Heyse
     (...) Yeah, I noticed the tcl/tk version of the LSynth GUI didn't get too many comments. (URL) you had any thoughts on how to make the LPub GUI portable? It's a bit heftier than the LSynth GUI, but it's probably doable in tcl/tk. Don (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Mike Walsh
       "Don Heyse" <dheyse@hotmail.spam....away.com> wrote in message news:HD4uy9.204w@lugnet.com... (...) I played around with it and thought it was pretty neat for how few lines of Tcl it was. I'd wager the existing LPub GUI could definitiely be done in (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
     (...) for the student. The only reason I wrote it was to prevent annoying comments from my editor because he doesn't have a clue on how to run a command line. IMHO LSynth GUI provides no added value beyond the annoyance prevention, but I started on (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
    
         Re: Embedded language support in LPub —Kevin L. Clague
     (...) contained (...) it (...) OK, so I've been a little overwhelmed with the whole LPub extension topic, so this seems a little harsh in hindsight. I didn't mean to sound so selfish. Open source and multiple platform are both goals, but there are (...) (21 years ago, 11-Apr-03, to lugnet.cad.dev)
   
        Re: Embedded language support in LPub —Kevin L. Clague
   (...) Thanks for the wonderful suggestion Wayne. (...) I'll go for the language neutral socket solution. (...) I'll only allow one connection though, at least until I reorganize my data. <snip> (...) At first my head started spinning through all (...) (21 years ago, 10-Apr-03, to lugnet.cad.dev)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR