Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ is going to write a text editor

Name: Anonymous 2008-02-03 19:23

First, we must agree on what language to write it in.

I nominate C, for efficiency purposes, and that I am most comfortable in it. I also nominate Scheme, because I am proficient in it.

Name: Anonymous 2008-02-03 19:24

text editor. why?

Name: Anonymous 2008-02-03 19:27

>>2

thats his homework assignment.

Name: Anonymous 2008-02-03 19:40

ENTERPRISE Java.

Name: Anonymous 2008-02-03 19:43

lol

Name: Anonymous 2008-02-03 19:43

>>3
If it were my homework assignment, I'd be writing it in a specific language.

>>2
Because the best we have is Emacs, which is just sad.

Name: Anonymous 2008-02-03 19:48

>>6
You don't understand Emacs.

Name: Anonymous 2008-02-03 19:52

>>7
You don't understand vim.

Name: Anonymous 2008-02-03 19:54

I nominate either C++ or Java, since I have to admit, my proficiency are in these two languages.

Languages nominated:
 * C
 * Scheme
 * C++
 * Java/Enterprise Java

Name: Anonymous 2008-02-03 20:01

/prog/ needs to write a file transfer protocol and implementation that doesn't suck dick.  If it's functional: SIcp.

Name: Anonymous 2008-02-03 20:04

>>10
Fuck off, this is the text editor thread.

Name: Anonymous 2008-02-03 20:30

I second C.

Now, will it uses ncurses, X (GTK, Qt, etc.), or something else for the interface? BTW, Win32 = DO NOT WANT. We are on Linux.

I had an idea a week or two ago about a thread where /prog/ writes an ANSI C compiler.., we'll see how this turns out first.

Name: Anonymous 2008-02-03 20:30

J2EE (using AspectJ and in J++, of course), storing all files as XML strings inlined as a cell in a RDMS. All screen formatting will be done in with a client-side BBCode implementation in JavaScript using XMLHttpRequest to fetch and instantly update the EnterpriseTextXML file from the web server that interfaces the database.

Example (code used to load a file):

SELECT Row00000002 from Table00000001 WHERE Row000000001 EQUALS "hello.EnterpriseTextXML";
<?xml version="1.0" encoding="UTF-32"?>
<TextFile>
  <UTF32Character CodePoint='00000048' />
  <UTF32Character CodePoint='00000065' />
  <UTF32Character CodePoint='0000006C' />
  <UTF32Character CodePoint='0000006C' />
  <UTF32Character CodePoint='0000006F' />
</TextFile>

Name: eternalmage 2008-02-03 20:31

lol lets program it in java darby :D

then we make java sprite pornography?

Name: Anonymous 2008-02-03 20:32

I AM ANTICIPATING THAT WE WILL NEED A VARIABLE AND A FUNCTION

Name: Anonymous 2008-02-03 22:09

>>15
I AM ANTICIPATING THE USE OF A LANGUAGE THAT DOES NOT ALLOW YOU TO CHANGE VARIABLES. THUS WILL WILL NEED TWO FUNCTIONS (MY OTHER FUNCTION IS A LAMBDA).

Name: Anonymous 2008-02-03 22:14

>>16
YOUR MOTHER IS A FUNCTION

Name: Anonymous 2008-02-03 22:19

First, we must agree on what language to write it in.
No, first you must agree on what the fuck are its features, and, more importantly, why exactly it is not going to be just another failure of an editor.

Name: Anonymous 2008-02-03 22:23

>>18
How will we know what features we are able to implement if we don't know the language we're using.

Name: Anonymous 2008-02-03 22:32

>>19
Do you buy a car and then decide how many miles you drive to work in a day?

Name: Anonymous 2008-02-03 22:36

|How will we know what features we are able to implement if we don't know the language we're using.

exactly  you cant possibly say what the features are before you pick a language as it might not be possible to implement a certain feature in one language as oposssed to another 

Name: Anonymous 2008-02-03 22:37

>>20
Do you buy a car and then decide to take your cdr to work instead?

Name: Anonymous 2008-02-03 23:09

>>21
No, not "exactly". I was making fun of you faggots. You don't even know what you want in a text editor. Cart. Horse. Observe order.

Name: Anonymous 2008-02-03 23:32

>>23
YHBT. YHL. HAND.

Name: Anonymous 2008-02-03 23:42

This thread is now officially made of fail of epic proportions.

Name: Anonymous 2008-02-04 0:07

#!/bin/bash
ed

Name: Anonymous 2008-02-04 0:17

I've finished the text editor:

int fact(int n) {
    if (n<=1) return 1; else return (n * fact(n-1)); }

Name: Anonymous 2008-02-04 0:55

>>27

shit wht the hell hve you don e to my computer this keyboard is fuced

Name: Anonymous 2008-02-04 2:10

>>26
#!/bin/sh
/bin/ed

Fixed, you faggot. If you're going to use the standard text editor, use the fucking standard shell.

Name: Anonymous 2008-02-04 2:32

>>29
bash is standard, you fool.

Name: Anonymous 2008-02-04 3:07

Write a clone of EMACS using HASKELL NOMADS.

Name: Anonymous 2008-02-04 3:13

>>29
EVERYONE USES LINUX YOU FAGGET. WHAT DO YOU THINK /bin/sh IS SYMLINKED TO?

Name: Anonymous 2008-02-04 3:18

>>27
Oh yO u g Ot mE.

Name: Anonymous 2008-02-04 3:54

>>30
Only on shitty-ass piles of trash. Go suck Torvald's dick or something, faggot, you're not wanted here.

Name: >>30 2008-02-04 4:07

>>34
YHBT, YHL, HAND.

Name: Anonymous 2008-02-04 5:47

HAY GUYS WHAT I WOULD LIKE IN AN EDITOR, WHICH EMACS MAY HAVE ALREAFDY BUT I HAVE NOT LEARNED EMACS, IS THE ABILITY TO PIPE THE CURRENT BUFFER THROUGH SOMETHING AND FOR THE OUTPUT TO BE PLACED IN A NEW BUFFER OR OVERRIDE THE CURRENT. THEN YOU COULD GREP AND CUT AND SED AND DO LOADS OF STUFF WITH YOUR BUFFER. OR YOU COULD JUST DO IT WITH A SELECTION, AND THEN IT OVERRIDES THE SELECTOIN WITH THE OUTPUT OF THE PIPED COMMAND. IS THAT AEWSOME OR WHAT?

Name: Anonymous 2008-02-04 7:13

>>36
Yes, that is quite awesome. Of course, Emacs already does that, e.g.:
!!morse -s|tr -d \\n
or
:%!sort

Name: Anonymous 2008-02-04 7:15

>>36
Nope, they already tried that on Mythbusters.

Name: Anonymous 2008-02-04 7:37

Guise, I just wanted us to decide on language based on the fact that if we have a shitton of C programmers and 3 Java programmers, it makes sense to write it in C.

Name: Anonymous 2008-02-04 8:44

PROJECT APPROVED

CODING COMMENCES AT 1800 EST TODAY. BE THERE OR BE SQUARE

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List