User talk:Ahy1
From LiteratePrograms
Contents |
Welcome!
Hi, Ahy1, and welcome to LiteratePrograms! I hope you like the place and decide to stay. Here are a couple of tips for newcomers:
- If you haven't done so already, please take a look at how to write an article on LiteratePrograms. The markup is basically the same as that used on Wikipedia, but there are a few differences of which you should be aware.
- Please sign your name on talk pages using four tildes (~~~~); this will automatically produce your name and the date.
I hope you enjoy editing here! If you need help, post a question on the Public forum, or just ask me on my talk page. --Allan McInnes (talk) 12:44, 3 March 2006 (PST)
Thanks for your contributions
Welcome from me, too, Ahy! I'm the site owner, User:Deco, and I'm happy to see the contributions you've made to a number of important articles like Hello World (C) and Singly linked list (C). Feel free to ask any questions or make any suggestions either in the public forum or on my personal talk page. Keep up the good work! Deco 16:21, 3 March 2006 (PST)
Even numbers
Thanks for the quick fix on Handy macros (C). Not quite sure what I was thinking when I wrote the "even numbers" section title, since it was pretty obviously wrong :-( Glad you were able to catch and fix the error so quickly. --Allan McInnes (talk) 13:18, 7 March 2006 (PST)
- No problem, I make such errors all the time myself. Ahy1 13:31, 7 March 2006 (PST)
Great article
Just took a look at Hello World (C Xlib). Really good article! Nice work. --Allan McInnes (talk) 08:39, 16 May 2006 (PDT)
- Thank you. I am glad you liked it. Also thank you for correcting spelling mistakes in this and other articles. Ahy1 12:32, 16 May 2006 (PDT)
You're a sysop
Hi Ahy1. I promoted you to sysop, allowing you to delete articles, protect pages, and do some other handy things. No particular reason, just figured you've done some good work and I'm pretty sure you're not going to screw up the site. :-) Deco 15:10, 25 May 2006 (PDT)
- Congratulations! A well-deserved promotion. You've done a lot of great work around here. --Allan McInnes (talk) 16:10, 25 May 2006 (PDT)
- Thank you! Ahy1 16:50, 25 May 2006 (PDT)
- Thanks for the promotion! I promise not to screw up the site, at least not intentionally :-) This wiki is really a great idea, and working on it is a pleasure. Ahy1 16:50, 25 May 2006 (PDT)
- I AM AN OPEN PROXY, PLEASE BLOCK ME NOW!--85.195.119.22 19:57, 2 September 2006 (PDT)LOL
Congratulations as sysop
I work at the same company as Ahy1 and wish him luck with his new 'job' as sysop here at literateprograms. I've been knowing Ahy1 for about a year now and so far he have prooven himself to be a competent programmer especially since we share the same basic ideas about how code should be writen hehe :). Also I want to point out that Ahy1 is a nice and helpful person and I'm sure he will be a valuable resource here at literateprograms. Waxhead 08:13, 27 May 2006 (PDT)
VB articles
Hi Ahy1, thanks for breaking ground on our Visual Basic articles, I appreciate it. I added another and added basic syntax highlighting support. I added some styles to make it look as similar as possible to how it looks in Visual Studio, since that's the only environment VB people edit in - I think it looks nice. Deco 18:39, 2 June 2006 (PDT)
- Yes the styles looks nice. Ahy1 19:07, 2 June 2006 (PDT)
Thanks!
Thanks for reverting User:Willy on Wheels's vandalism and returning the pages to their correct titles. I've deleted the redirects that were left over and moved a few that you missed (I found these by searching Special:Allpages). I appreciate your effort. Also, this is an attention-seeking vandal, so keep in mind that we shouldn't make a big fuss out of this. Deco 12:34, 11 July 2006 (PDT)
Matlab to MATLAB
thank you for your changes of my old "Matlab" to a more correct case "MATLAB" - Lehalle
- Just finished the work started by User:Predictor (Special:Contributions/Predictor). Ahy1 12:17, 22 August 2006 (PDT)
UUencode (C) indentation
Thanks for fixing up the indentation. It was getting late, so I gave up trying to puzzle out how to get it right. I haven't figured out the rules for getting pretty results yet, and I couldn't find them listed anywhere. Care to share your technique? RossPatterson 06:45, 30 November 2006 (PST)
- You have done a great job making this article an actual literate program!
- When it comes to indentation, I don't think I actually got it right, as I obviously haven't figured out the rules myself. I simply replaced all tabs with four spaces (The original code was indented with tabs, while the initial explanation by Deco was indented with 4 spaces). However, it seems like noweb indents the chunks relative to the indentation of the chunk reference -- sometimes. Maybe we should just use the correct indentation in the chunk definitions, and put all chunk references at the first column? Ahy1 08:04, 30 November 2006 (PST)
- OK, thanks anyway. I guess it's time for me to crack noweb open again - it's been about 10 years since the last time I read it :-) RossPatterson 18:57, 30 November 2006 (PST)
Tusen Takk
Thanks for the ceaseless spam reverting. 213.3.79.84 13:07, 1 February 2007 (PST)
Thanks
Thanks for the spam reversion. I can't believe it's now considered "hacking" to edit a wiki page... what has the internet come to :-/ --Allan McInnes (talk) 20:16, 31 May 2007 (PDT)
Forth syntax highlighting
I'll help with this, having just done something similar to support Forth highlighting in my editor. I take it the MediaWiki page of regexps is only editable by admins? Is there a page describing the supported styles? Is there some way to test language highlighting locally? Otherwise, I'll just paste my best guesses here on your talk page.
To start, you can modify these "reserved words" (Forth doesn't really have reserved words, but it is useful to highlight ANS standard words.) Also, all of these are case-insensitive, which means changing the regex from \b to \b(?i).
Delete: 3dup 4dup next not
Add: abort allot base bl bye catch constant cr create decimal defer ?do do does> else erase execute exit fill here hex is i j loop +loop lshift negate nip pad >r r> r@ recurse rshift space throw to tuck type value variable within
Add: : ; 1+ 1- 2* 2/ @ ! +! . , c, c@ c! + - * / /mod ' ['] < > u< = <> 0= 0<
Comment regex: [\( [^\)]*\)] Comment regex: [\\ .*?$]
(Note the required space after the '(' and '\' characters. You could change it to any whitespace if you wish.)
Character regex: [\[char\] .] Character regex: [char .]
Idea: separate the CORE and CORE EXT wordsets from the other wordsets (FILE, FLOAT, etc.) by using the "library function" style.
File words: read-file read-line r/w r/o w/o open-file close-file write-file write-line
Idea: separate IMMEDIATE words from normal words by giving them a different style, such as "brace". For instance, this would make flow-control words stand out.
Immediate words: if else then begin while repeat again until case of endof endcase do ?do loop +loop
Idea: separate defining words from normal words by giving them a different style, such as "predefined type" (since they have similar functionality, to declare things.)
Defining words: create does> variable value constant : ; noname: defer
--IanOsgood 11:29, 31 July 2007 (PDT)
- I don't know much about Forth syntax and standard words, so I just added the words I found in source code on the net. Now I have added the words you suggested, except those containing puctuation characters. I have problems with the regex syntax for matching such words.
- Unfortunately, the MediaWiki:SyntaxHighlightingRegexps page is only editable by power users. If you have some ideas of how to do this, just paste it here or on MediaWiki talk:SyntaxHighlightingRegexps, and I will include it in the page.
- I don't know about a page describing the supported styles. I just look at the definitions for the other languages. Ahy1 13:30, 31 July 2007 (PDT)
