Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #3774 > unrolled thread
| Started by | Bill Chatfield <billchatfield1@gmail.com> |
|---|---|
| First post | 2017-08-11 22:04 -0700 |
| Last post | 2017-12-23 07:13 -0800 |
| Articles | 8 — 7 participants |
Back to article view | Back to comp.sys.apple2.programmer
Some Project Ideas Bill Chatfield <billchatfield1@gmail.com> - 2017-08-11 22:04 -0700
Some Project Ideas Anthony Ortiz <anthonypaulo@gmail.com> - 2017-08-12 05:01 -0700
Re: Some Project Ideas Bill Chatfield <billchatfield1@gmail.com> - 2017-08-12 08:43 -0700
Re: Some Project Ideas Michael J. Mahon <mjmahon@aol.com> - 2017-08-12 11:12 -0500
Re: Some Project Ideas Gary Gray <vengefultacos@gmail.com> - 2017-08-12 15:03 -0400
Re: Some Project Ideas gids.rs@sasktel.net - 2017-08-12 12:42 -0700
Re: Some Project Ideas craigslist530a@gmail.com - 2017-12-20 23:34 -0800
Re: Some Project Ideas handyandy802@gmail.com - 2017-12-23 07:13 -0800
| From | Bill Chatfield <billchatfield1@gmail.com> |
|---|---|
| Date | 2017-08-11 22:04 -0700 |
| Subject | Some Project Ideas |
| Message-ID | <2229d713-7c71-4c4e-bb77-8af5496ec80c@googlegroups.com> |
These are a little bizarre but would be very impressive: 1. A compiler (for C, Pascal, etc) written in Applesoft BASIC. This seems impossible because BASIC is missing features like recursion and structures/records that are normally used for writing compilers. I bet there's someone out there that's smart enough to figure it out. 2. The opposite of cc65, a cross-compiler running in the Apple II that generates executables for Linux/Mac/Windows. Why would you do this? I don't know. We have all these cross-compilers/assemblers that target the 6502 and it just seems a little one-sided.
[toc] | [next] | [standalone]
| From | Anthony Ortiz <anthonypaulo@gmail.com> |
|---|---|
| Date | 2017-08-12 05:01 -0700 |
| Message-ID | <62734945-c60c-4243-b01e-8eaa27c9ddaa@googlegroups.com> |
| In reply to | #3774 |
1) not impossible, recursion can be simulated and there are alternatives to recursion, and you can use other means to store structures. 2) lol! :P
[toc] | [prev] | [next] | [standalone]
| From | Bill Chatfield <billchatfield1@gmail.com> |
|---|---|
| Date | 2017-08-12 08:43 -0700 |
| Message-ID | <95d4e09b-fbbd-497f-8bc6-6b7f3117e87f@googlegroups.com> |
| In reply to | #3777 |
On Saturday, August 12, 2017 at 8:01:34 AM UTC-4, Anthony Ortiz wrote: > 1) not impossible, recursion can be simulated and there are alternatives to recursion, and you can use other means to store structures. > 2) lol! :P :-) I'm glad someone gets my sense of humor.
[toc] | [prev] | [next] | [standalone]
| From | Michael J. Mahon <mjmahon@aol.com> |
|---|---|
| Date | 2017-08-12 11:12 -0500 |
| Message-ID | <ZpudncWiMelgtRLEnZ2dnUU7-L_NnZ2d@giganews.com> |
| In reply to | #3777 |
Anthony Ortiz <anthonypaulo@gmail.com> wrote: > 1) not impossible, recursion can be simulated and there are alternatives > to recursion, and you can use other means to store structures. > 2) lol! :P > IIRC, Microsoft's TASC was written in Applesoft and then bootstrapped... -- -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
[toc] | [prev] | [next] | [standalone]
| From | Gary Gray <vengefultacos@gmail.com> |
|---|---|
| Date | 2017-08-12 15:03 -0400 |
| Message-ID | <1sadnZCa1PtmzRLEnZ2dnUU7-KnNnZ2d@giganews.com> |
| In reply to | #3774 |
On 08/12/2017 01:04 AM, Bill Chatfield wrote: > These are a little bizarre but would be very impressive: > > 1. A compiler (for C, Pascal, etc) written in Applesoft BASIC. This seems impossible because BASIC is missing features like recursion and structures/records that are normally used for writing compilers. I bet there's someone out there that's smart enough to figure it out. Someone already wrote a Pascal compiler (well, a Pascal subset) in generic BASIC, so it's certainly possible. The compiler compiles to P-Code, which is then converted to 8080 assembly. The Tiny Pascal language appeared in Byte volume 3 #9 through #11: * https://archive.org/details/byte-magazine-1978-09 * https://archive.org/details/byte-magazine-1978-10 * https://archive.org/details/byte-magazine-1978-11-rescan I remember looking at it back in the day, and it seemed doable to convert it to Applesoft, but I never got around to it (and I was more interested in full compilers, rather than a compiler to a virtual machine). Plus, I already had bought Kyan Pascal. Plus, for all the proting work, Tiny Pascal lacks a lot of features. All you get is integers and integer arrays. No records (aka structures), no floats, no Strings, even.
[toc] | [prev] | [next] | [standalone]
| From | gids.rs@sasktel.net |
|---|---|
| Date | 2017-08-12 12:42 -0700 |
| Message-ID | <7b4e41e8-5498-41bc-89ee-192a1808f87d@googlegroups.com> |
| In reply to | #3774 |
On Friday, August 11, 2017 at 11:04:44 PM UTC-6, Bill Chatfield wrote: > These are a little bizarre but would be very impressive: > > 1. A compiler (for C, Pascal, etc) written in Applesoft BASIC. This seems impossible because BASIC is missing features like recursion and structures/records that are normally used for writing compilers. I bet there's someone out there that's smart enough to figure it out. > There is an assembler written in basic in Nibble magazine to create ML code from source. It uses ML routines to speed up searches and so forth. Doing the same for C or Pascal should be just as trivial.
[toc] | [prev] | [next] | [standalone]
| From | craigslist530a@gmail.com |
|---|---|
| Date | 2017-12-20 23:34 -0800 |
| Message-ID | <7f4aec83-641e-421b-a12a-85f2eebfb2e9@googlegroups.com> |
| In reply to | #3787 |
I typed in BASIC.ASSEMBLER from nibble by.hand and it was my first assembler. I wrote a platform game "engine" that used the text screen for "graphics" and drivers.to position a stepper motor connected thru parallel card and driver(power) chips Then it was on to Merlin because my programs got bigger and .basic.assembler took too long a time to operate
[toc] | [prev] | [next] | [standalone]
| From | handyandy802@gmail.com |
|---|---|
| Date | 2017-12-23 07:13 -0800 |
| Message-ID | <df18dd56-bdfe-465c-861a-f4a576294515@googlegroups.com> |
| In reply to | #4048 |
I like HyperC. It uses none of Applesoft Basic. It uses SANE for floating point numbers. It has support for 65802/816. Cheers and Happy Holidays! Andy
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web