would you imagine the source is 100K, and over 2500 lines of pure code? (for starfox) O.O
That was after he emailed it to me ;) and with the email came the permission to use what I wanted ^-^ you guys don't have that. HAH. SUCKERS. :P jk
Hehe... Axe's source code is 9200 lines of code but then the commands add another 3700 lines.
Wow, i think graviter is only somewhere around 600-700 lines.Please note that this is Asm and not Axe, so the line lengths will be extremely different. ;)
Hmm... If you don't have Word Wrap turned on, you could use the statusbar at the bottom, and create something of a "Table of Contents" including the line numbers for your routines.
You could create an ASCII-art type comment in order to be able to identify routines when scrolling.
Yeah, I suppose that non-interpreted comments would be a good way to mark your routines.
;Working with mnemonics is just so tedious
Yeah, Assembly programs have a frickin huge number of lines.
ld a,30h
rrd
cp 3Ah
jr c,$+4
add a,7
ld (de),a
dec de
ret
It is just easier for me to understand as a language, I guess.
How do you people deal with source code when it starts getting over 4000 lines long? I feel like once it starts reaching this length, I start losing time by searching through the code for routines. At these sizes, the scroll bar is almost useless.
@FloppusMaximus, by any chance did you ever try assembling Mimas with Mimas. I don't know if it's possible or not with all those macros and stuff, but it would be pretty cool.
Mimas is currently 16040 lines, not counting auto-generated files. That's by far the largest assembly program I've ever written.
How do you get auto-generated files?I don't know about Mimas, but when I have a lot of code to write, I'll generally make a program to write it for me.
I don't know about Mimas, but when I have a lot of code to write, I'll generally make a program to write it for me.Exactly. In this case, there's a Perl script to generate the instruction patterns and rules from a simple text description (which I could have done by hand, but writing a script was easier, and probably less error-prone), and another script to compile the built-in symbols (which involves compressing and sorting them, and there's no way I could have done it by hand.) Since the results are generated automatically, I don't think those files count as part of the source code.
Mimas is currently 16040 lines, not counting auto-generated files. That's by far the largest assembly program I've ever written.How do you people deal with source code when it starts getting over 4000 lines long? I feel like once it starts reaching this length, I start losing time by searching through the code for routines. At these sizes, the scroll bar is almost useless.
etags. :) And occasionally grep.
And yeah, I'd say 4000 lines is too long for a single source file, no matter what language or editor you're using.
And @SirCmpwn: Half of the tiDE code (or maybe even more) is code generated by the GUI designer, hence I'm not impressed with 26thousand lines.Are you kidding me? Maybe 1/8th is generated.
Okay... I'll settle this Visual Studio stuff. I'm gonna count my lines. Once with everything. The other withonly the *.designer.* files.
Everything: 1524
Designer Files: 1178...
So 1178/1524
589/762
77.3% of my visual studio project is Designer code. Though take into consideration that C# takes up more lines that Basic with all the braces and stuff. So. SirCmpwn. Do a *.Designer.cs search on your project and see what happens.
Update on the size of tiDE:
Total lines of code: 46,778
Total lines of code (non-generated): 40,226 [This means ~86% is manually written]
Total size of source and binaries: 30.6 MB
Size of source alone: 6.86 MB (total size of everything you should have to run tiDE without source)
Number of files: 736
Number of folders: 148
There are 15 projects that contribute to the tiDE code base. They are:
-Assembly (exposes methods for manipulating assembly files, including assembly and disassembly
-Basic (exposes methods for manipulating TI-Basic files, including tokenization and detokenization)
-Brazil (core z80 emulation library)
-DCS7Design (a graphical designer for DCS7 GUI)
-GenerateTable (one of several programs that assist the other libraries, this one generates a table file for Assembly)
-GenerateTI83PlusIncDocumentation (another assist project, it generates documentation in XML for ti83plus.inc from WikiTI)
-GenerateTIBasicDocumentation (assist project, generates documentation in XML for TI-Basic commands from TI|BD)
-GenerateTIBasicHighlighting (assist project, generates the file that TI-Basic syntax highlighting is based on)
-GenerateZ80CodeCompletion (assist project, generates the z80 documentation that is used for code completion)
-Stetson (TI-83+ emulator)
-TableFileEditor (assist project for manipulating files created by GenerateTable)
-TI Developer API (library for manipulating TI files such as 8xp and 8xk files)
-tiDE (the main interface that ties together all the other projects and provides an IDE)
-Tokenizer (old project that provides some support to Basic)
-WinFormsUI (controls the dock capability of tiDE)