Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Text-based Autonomous POC (http://www.chiefdelphi.com/forums/showthread.php?t=135560)

Fauge7 09-03-2015 00:52

Re: Text-based Autonomous POC
 
Yeah, but the root of this problem seems to be the lack of documentation on the libraries, but to the OP keep up the good work and figure out some way to port this onto simple!

Ozuru 09-03-2015 11:31

Re: Text-based Autonomous POC
 
https://www.reddit.com/r/threadkillers

Defensoft3585 10-03-2015 14:52

Re: Text-based Autonomous POC
 
Quote:

Originally Posted by MrRoboSteve (Post 1455096)
One thing to think about when designing a programming language like this (whether or not you think so, you're designing a programming language) is what use cases are in and what are out.

For example, will you allow:

variables No, this is supposed to be simple.

subroutines No, this is supposed to be simple.

logic (if/then/else) No, this is supposed to be simple.

looping No, this is supposed to be simple.

Another example -- what support will you have for detecting errors in the script and communicating them to the user? If you read the code, it already has this feature.

Once you decide what is in and what is out, you should compare the effort to do what your scripting language does to the effort needed to write the same thing in the underlying language (Java, in this case). These examples will be good to use when you're trying to convince people that what you've developed makes things so much simpler that they'll learn your language in addition to Java.

My replies in bold. People seem to mistake this for an entire language - this is a data format that anyone could feasibly understand.

Defensoft3585 10-03-2015 15:07

Re: Text-based Autonomous POC
 
Quote:

Originally Posted by Fauge7 (Post 1455326)
Yeah, but the root of this problem seems to be the lack of documentation on the libraries, but to the OP keep up the good work and figure out some way to port this onto simple!

Thank you very much! And WPILib does have documentation. For me it's in C:\Users\<username>\wpilib\java\current\javadoc\in dex.html.


All times are GMT -5. The time now is 09:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi