TheDcoder Posted September 22, 2015 Share Posted September 22, 2015 Nice! EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
minxomat Posted September 25, 2015 Author Share Posted September 25, 2015 (edited) Review Task #2Ported another 1,3k or so. Open to review here: https://github.com/Perseus-Dev/Perseus-Portbase/pull/10Edit: See below. Edited September 26, 2015 by minxomat I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
minxomat Posted September 26, 2015 Author Share Posted September 26, 2015 (edited) Review Task #3I merged the above PR to prevent any branch difficulties - please take a look at it nonetheless! Additionally, I finished the Parser today, so the rest of this part is in this PR here: https://github.com/Perseus-Dev/Perseus-Portbase/pull/11 which is also open to review!Edit: See below. Edited September 26, 2015 by minxomat I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
minxomat Posted September 26, 2015 Author Share Posted September 26, 2015 Yay! It took me about 6 hours straight, but I ported everything. And it does actually compile (the port that is). This is the minimal example we will use to iron out all remaining bugs:link GUI entry main func main() { // here be code. }This should generate a 2.048 byte file that when run does nothing. Needless to say, it doesn't work (yet) using the port. The port compiles fine but outputs a corrupted and misaligned 2.050 byte file. If you take a look at the hex dumps from both outputs, they are essentially the same, apart from a few byte-errors. That's whats next - fixing those errors. You can find the running port, the hex dumps and everything else in the official repo. Don't read or care about the ; TODO(minx): blah... comments yet, that's just for the future me . I'll start debugging some time later this weekend. TheDcoder and Xandy 2 I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
TheDcoder Posted September 26, 2015 Share Posted September 26, 2015 @minxomat Great! Good job captian! TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
minxomat Posted September 27, 2015 Author Share Posted September 27, 2015 I'm going to delete and edit some teams and repos - general cleanup. I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
guinness Posted September 28, 2015 Share Posted September 28, 2015 I looked at the ported code and it looks really impressive. When is the documentation going to be created? I would love to at least make one PR to this project. minxomat 1 UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
minxomat Posted September 28, 2015 Author Share Posted September 28, 2015 I looked at the ported code and it looks really impressive. When is the documentation going to be created? I would love to at least make one PR to this project.Since my last post I made great progress debugging the port. I estimate from early test that there are more than 100 bugs to fix. I'll do this alone over the next days (because it basically involves compiling a thing, printing a hexdump and then sitting down with a calculator and a pencil to figure out what went wrong - I'm not kidding). When all of the old examples compile and all their checksums match the VBNET compiler, I'll create a folder structure and split the code into more reasonable chunks . In this process, I'll set up the wiki and the Doc directories.I assume I'll write a few examples of how I imagine the doc to look like and then we can start (building the doc and cleaning the code). I removed the doc team and downgraded the team member privileges, so that no accidental commits mess up the code. We're going for the fork-improve-pr way .Oh, and sorry @rjframe, I rewrote all your code but there were some improvements I copied ^^ TheDcoder 1 I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
TouchOdeath Posted October 28, 2015 Share Posted October 28, 2015 Multithread Link to comment Share on other sites More sharing options...
minxomat Posted October 28, 2015 Author Share Posted October 28, 2015 MultithreadWhat? I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
TouchOdeath Posted October 28, 2015 Share Posted October 28, 2015 "Perseus is a free (as in both beer and speech), open-source and dependency-free programming language for Windows. "Programming language? If so then I would suggest including Multithread functionality if possible. Link to comment Share on other sites More sharing options...
minxomat Posted October 28, 2015 Author Share Posted October 28, 2015 Programming language? If so then I would suggest including Multithread functionality if possible.Multithreading is not a programming language feature, it is a feature provided by the system API. Just call CreateThread to create a new thread. I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
TouchOdeath Posted October 28, 2015 Share Posted October 28, 2015 (edited) Aww, I wasn't aware of that, thanks for clearing that up. I guess since its not a feature then I will call it a 'nicety' where for example, in vb.net you can just say task.run(sub() thissub()), and it creates a thread for you without specifying anything technical. Edited October 28, 2015 by TouchOdeath Link to comment Share on other sites More sharing options...
minxomat Posted October 28, 2015 Author Share Posted October 28, 2015 I wasn't aware of that, thanks for clearing that up. I guess since its not a feature then I will call it a 'nicety' where for example, in vb.net you can just say task.run(sub() thissub()), and it creates a thread for you without specifying anything technical.VB.NET is managed code, meaning that it is assembled Just In Time. The JITter for .NET translates the Task.* wrapper to a simple call to CreateThread and slabs some error handling on there. There's not really a efficiency difference, the .NET framework just takes some time to initialize. Perseus is a barebones language, where you have to do any memory-management by yourself. This has the advantage that no additional code is injected into the binary (like runtime checks).In VB.NET you have even more overhead, because it is (like AutoIt) able to use the thread API, but not designed to do so. VB6 and AutoIt crash or show undefined behavior when you try to create threads. The introduction of .NET thread-wrappers enables this in VB.NET. I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
argumentum Posted November 30, 2015 Share Posted November 30, 2015 ...It took me about 6 hours straight, but I ported everything. And it does actually compile (the port that is). This is the minimal example we will use to iron out all remaining bugs:...Downloaded the current master. It did not compile most of it.Q1: are you still working on it ?Q2: how can I help?, I only know Autoit and some of Autoit's version of ScITE Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
minxomat Posted November 30, 2015 Author Share Posted November 30, 2015 I'm still working on it, but I'm on tour the rest of the year for business, so no avail. A hint: Everything I post here (or posted since my last post here) is a part of my work on this compiler (OOPE for example). I'm building stable components to declutter the current port. Bear with me . argumentum 1 I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
TheDcoder Posted November 30, 2015 Share Posted November 30, 2015 I have the same habit, I post stuff which I use in my code Looking forward for 2016, hopefully I can complete my project by that time EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
minxomat Posted February 15, 2016 Author Share Posted February 15, 2016 (edited) Unfortunately, this means the death of my support of the Perseus project. I promise that the original VB source and the partly finished AutoIt port will remain public in my github account. I'm still convinced they provide a great learning resource. Edited February 29, 2016 by minxomat I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now