| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> feti: i've used it some <0> them some* <1> heh <1> probably as much as i have then ;( <0> well, i wrote a compiler with them <1> i need a one-stop tutorial for them. i can't find anything solid using google <0> actually, the info pages for them are really good <1> i checked out flipcodes tutorial on writing a scripting engine. it's the best i could find <1> but it's really bad too ;( <1> really? <1> let me try those <0> feti: yeah, the info pages on them are good <1> while i'm in info and i click a title and go in, how do i get out? <0> feti: let me see if i can dig up notes my professor had for that course... one sec
<1> and go back a page <2> ugg, i could never figure that out either (never looked to hard) **** info and **** emacs <3 <0> http://www.siue.edu/~sblythe/cs423/cs423.html -- has some items on it that may be useful, but his main examples for flex/bison seem to be gone <2> and gnu and stallman while we're at it <0> feti: press "u" for (up) i think <3> ugh.. <blink>... <0> i really don't remember... i always have to read the info page help <1> thanks vratha <1> checking it out now <0> np <1> wonders why acroread on gentoo takes so long to startup <1> i swear it takes 10 seconds just to load itself <0> use "p" for previous page, "n" for next page <1> OH you rock <2> because there's a bunch of ****ty plugins for it installed by default (on any system) delete them and it will start 20x quicker <4> write the scripting language interpreter in prolog and and implement a prolog interpreter! -g- <2> don't know where they're stored in the linux version though <1> i want to write a very, very simple template scripting language to use for my fastcgi apps <1> that's all i want <1> something to do basic if conditions/loops/var ***ignments and printing <1> as i said, very, very basic. ;D <1> and of course call functions that exist in the C code <1> i have a basic example i wwrote that has 1 rule: print printf("You said: %s\n", yytext) <1> but the yytext var also includes the name of the command called 'print' <2> you know there's like 20 different ways of doing exactly what you want already, right? <2> heh <2> (templating systems, i mean) <1> well i want something very, very basic <1> and i've been unable to find anything tiny on google <1> i don't want something like lua <2> oh <1> i want something that allows me to enter C script-style syntax in an HTML template (fastcgi) <1> i don't need anything serious ;P <1> just tiny <1> nothing even remotely like PHP <2> php is an abomination in so many ways :P <2> why would you ever want something like it? heh <2> (the syntax is nice though, I'll give them that.) <1> it doesn't bother me. the majority of my client code is PHP in fact <1> but i want to get away from that for more reasons than the slowness of PHP <2> i really dislike it <2> but more the software itself than the language. working in the hosting industry will do that i suppose <5> Compiled CGIs won't do, feti? <1> no <5> That's what I did, but mostly because I could get the work done faster that way than learning php or whatever :) <1> even though the application/C code won't change, i need templates to be easily changed and reparsed in real-time <0> mith: PHP is pretty nice when you're doing web development at least :) <1> that wya they can be parsed an dloaded into memory and used <0> it beats a lot of alternatives at least <2> not really <6> Vratha, So is Tcl :-) <7> mith: hi <7> mith: are you at work? <2> yes
<3> yaiks <8> psst, the bot goes ape**** when it gets split off <9> well, it doesn't know the state of everyone in channel <10> hey stupid shell scripting quesition, how do I loop from 1 to 1000? <11> for i in `seq 1 1000`; do xxxxx; done <10> cheers thanks <11> np n00b ;-) <9> damn. no one even said 'which shell' <12> for ((i=1;i<=1000;++i)); do ...; done <9> I need caffeine <13> caffein rocks <11> mine was less keystrokes <12> mine runs in constant memory <10> gauze, hey teach, in your example, how would i spit out a period if i mod 10 == 0? <12> perl -we '$| = 1; for my $i (1 .. 1000) { print "." if $i % 10 == 0; }' <14> haha <10> ech mauke. <12> srsly <11> if ! ((i%10)) ;then echo $i ; fi; <11> oops <11> you get the idea I guess? <15> it helps to define i ;) <12> I think I win in terms of readability <14> Gambit-: man expr <15> perl <3 <14> Gambit-: Generally more portable. :-P <11> but yours iisn't shellscript <11> psyche_: mine is so unreable? ISN'T THIS #c?!?!?!?! <11> ****ing goddamn nick_comp <12> yeah, so I also win in terms of portability <11> it's a bash script <11> he asked about doing it in a shell <5> I don't think the outcome of this debate really matters :) <11> IT DOES <12> there are too many subtly incompatible shells <11> christ I should be working <11> I'm writing a shell script front end for nontech types hre to pick and order and burn a dvd from it. <11> s/and/an/ <11> boring <10> portable? Why would i care about portable? :) <16> i like portable when i can charge people for the extra work <16> btw portable doesn't count in perl. there is only one perl. :P <12> yeah, and it runs on anything <16> almost. C runs on more things <16> i'd be happier if perl were just a language spec and there were a few different implementations. <16> i should write my own implementation of perl, as a joke. <14> heh <12> you should work on ponie <16> like implement it in java or fortran or something <16> oh. is that that parrot thingy? <12> yeah, Perl On New Internal Engine or something like that <12> the hard part is preserving XS compatibility, I think <16> yea. one of the best things about there being only one implementation is that you can just throw away backward compatibility when it's inconvenient :) <16> so when they rewrite everything for perl7 will we have a perl5 compatibility layer and a perl6 layer, etc. <6> Tcl ! <7> mith: are you supposed to be IRC'n from work? <14> rkeene: ewwww <17> Woha. kawfee isn't banned anymore? <17> Oh, wait, I'm confused. :) <10> KidArt, kawfee != KimmoA <10> :) <17> Gambit, yes, yes, I got the weird types confused. :P <16> Gambit-, btw. ncurses is MIT/BSD licensed, so you could steal code from it if you wished. <10> OrngeTide, Yeah, I noted. <6> sbahra, Hmm ?
Return to
#c or Go to some related
logs:
#politics #nhl #nhl #delphi example with pascalscript #computers #nhl #beginner #nhl #beginner
|
|