Subj : Re: Progamming language for hackers? To : alt.hackers.malicious,comp.programming From : Juuso Hukkanen Date : Sat Oct 08 2005 10:36 pm On Fri, 07 Oct 2005 15:46:25 -0700, Scott Moore wrote: >> /**************CUT********** >> * No headers needed! >> * pre-pre-procesor fixes >> * them ready befere GCC >> */ >> >> int main(void) >> { >> unsigned char *text1 = NULL; >> unsigned char *text2 = NULL; >> FILE *filetto; >> t3d_convert_2BARRAY(text1); >> t3d_convert_2BARRAY(text2); >> >> t3d_read_url_Rbarray("http://www.cnn.com",text1); >> t3d_find_barray_Rbarray_HTML_n_HEADERS_ONLY(text1,text2); >> t3d_convert_barray_Rfile_HTML2TEXT(text2,filetto); >> /* default sound format wav 16bit Stereo 22,050kHz*/ >> t3d_convert_file_Rfile_TEXT2SPEECH(filetto,"speech.wav"); >> t3d_add_SPEAKER_VOLUME_n_2MAX(void); >> t3d_write_file_SPEAKERS(filetto); >> return(0); >> } >> > >You have written a library for C. No, it is something else. 1. t3d contains almost all of C , some obsolete C stuff has been removed (scanf %s, gets etc.) -> C folks would not accept that as C anymore. 2. t3d has its own strictly defined datatypes e.g. byte is exactly 8 bits and not like C:s about 8 bits 3. t3d's array based datatypes (barray, iarray) have well defined boundaries and fields for various kinds of info size, type, are there (word) delimiters between word fields. Also some more fields are to be used in debug mode, creator function, time of creation. 4. t3d defines clear debug modes which force most builds to be different. 5. t3d used by default an Boehm's garbage collector http://www.hpl.hp.com/personal/Hans_Boehm/gc/ , while C collects errors within dynamic memory allocation / freeing 6. C hardly knows any environment ( except file) , no networking , no GUI, no devices, no filetypes, no database support all those issues are offtopic with C, whilst t3d has no offtopic areas within those. 7. t3d has a build-in modern easy to use GUI, even though it might have to be borrowed from java or from other third party (tools). see: http://www.t3d.org/pages/GUI-communication.htm Anyway that borrowed GUI will be used with same kind simple t3d commands as other t3d code: unsigned char *my-window = NULL; t3d_convert_2GTABLE(my-window); t3d_create_Rgtable (my-window); t3d_add_Rgtable_BUTTON_n_MINIMIZE(); t3d_add_Rgtable_BUTTON_n_MAXIMIZE(); t3d_add_Rgtable_BUTTON_n_CLOSE(); 8. t3d also works as shell script language and as a PHP like web programming tool. apache throws scripts (t3d compiles into executables and runs). 9. t3d has an uniform command syntax and function behavior - all t3d functions return 'long long' - in yes / no answer functions t3d_measure_dirpath_EXIST(" ") 0 is always NO 1 is always YES 10. C contains (the little) what std. committee wants. t3d is to contain all the stuff which the users want it to contain. t3d code collection (genome) is to become) semi-automatically updated / assimilated; to fulfill the one codes once - philosophy thing. 11. C functions / macros have one name t3d genes ( callable function etc.) can have hundreds of alias names. Any legal formulation of a function name, which does helps the user to do tasks, is ok. ( Based on computer slang, local languages, user laziness. even common typos may result creation of an alias name). 12. C expects user to be a interested in remembering all kinds of unnecessary things about which headers contain what or order of parameters into. Besides C treats users badly. 13. t3d contains more advanced datatyped than C. Bignum is obvious but the t3d's table datatype is much like an SQL table. Ok, Bjarne originally named C++ as "C with Classes". If I'd make some similar naming that would be "C with logical language and all stuff". C'mon that is more than >You have written a library for C. admit U liked that... t3d 't3d_write_url_NEWS_HEADERS_n_2SPEAKERS("www.cnn.com");' Regards Juuso Hukkanen (to reply by e-mail set addresses month and year to correct) "t3d programming language" and the structure of t3d function prototype are trademarks of Juuso Hukkanen. .