Skip to content

Commit

Permalink
Updated for smartc 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
deleterium committed Feb 18, 2024
1 parent ac34f5a commit cc037ca
Show file tree
Hide file tree
Showing 4 changed files with 845 additions and 2,853 deletions.
2 changes: 1 addition & 1 deletion 3rd-party/highlight.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ className:"title",begin:e(s)+n.IDENT_RE,relevance:0
keyword:["asm","break","case","const","continue","default","do","else","exit","for","goto","halt","if","return","sizeof","sleep","struct","switch","while"],
type:["fixed","long","void"],
literal:"true false NULL",
built_in:"mdv pow powf memcopy bcltof bcftol Get_A1 Get_A2 Get_A3 Get_A4 Get_B1 Get_B2 Get_B3 Get_B4 Set_A1 Set_A2 Set_A3 Set_A4 Set_A1_A2 Set_A3_A4 Set_B1 Set_B2 Set_B3 Set_B4 Set_B1_B2 Set_B3_B4 Clear_A Clear_B Clear_A_And_B Copy_A_From_B Copy_B_From_A Check_A_Is_Zero Check_B_Is_Zero Check_A_Equals_B Swap_A_and_B OR_A_with_B OR_B_with_A AND_A_with_B AND_B_with_A XOR_A_with_B XOR_B_with_A Add_A_To_B Add_B_To_A Sub_A_From_B Sub_B_From_A Mul_A_By_B Mul_B_By_A Div_A_By_B Div_B_By_A MD5_A_To_B Check_MD5_A_With_B HASH160_A_To_B Check_HASH160_A_With_B SHA256_A_To_B Check_SHA256_A_With_B Get_Block_Timestamp Get_Creation_Timestamp Get_Last_Block_Timestamp Put_Last_Block_Hash_In_A A_To_Tx_After_Timestamp Get_Type_For_Tx_In_A Get_Amount_For_Tx_In_A Get_Timestamp_For_Tx_In_A Get_Random_Id_For_Tx_In_A Message_From_Tx_In_A_To_B B_To_Address_Of_Tx_In_A B_To_Address_Of_Creator Get_Current_Balance Get_Previous_Balance Send_To_Address_In_B Send_All_To_Address_In_B Send_Old_To_Address_In_B Send_A_To_Address_In_B Add_Minutes_To_Timestamp Check_Sig_B_With_A Get_Code_Hash_Id Get_Map_Value_Keys_In_A Set_Map_Value_Keys_In_A Issue_Asset Mint_Asset Distribute_To_Asset_Holders Get_Asset_Holders_Count Get_Activation_Fee Put_Last_Block_GSig_In_A B_To_Assets_Of_Tx_In_A Get_Asset_Circulating F_Get_A1 F_Get_A2 F_Get_A3 F_Get_A4 F_Get_B1 F_Get_B2 F_Get_B3 F_Get_B4 F_Set_A1 F_Set_A2 F_Set_A3 F_Set_A4 F_Set_B1 F_Set_B2 F_Set_B3 F_Set_B4 F_Get_Amount_For_Tx_In_A F_Get_Current_Balance F_Get_Previous_Balance F_Send_To_Address_In_B F_Get_Map_Value_Keys_In_A F_Get_Activation_Fee F_Get_Asset_Circulating getNextTx getNextTxFromBlockheight getBlockheight getAmount getAmountFx getSender getType readMessage readAssets getQuantity sendAmount sendAmountFx sendMessage sendAmountAndMessage sendAmountAndMessageFx sendBalance sendQuantity sendQuantityAndAmount sendQuantityAndAmountFx getCurrentBlockheight getWeakRandomNumber getCreator getCreatorOf getCodeHashOf getActivationOf getActivationOfFx getCurrentBalance getCurrentBalanceFx getAssetBalance setMapValue setMapValueFx getMapValue getMapValueFx getExtMapValue getExtMapValueFx checkSignature issueAsset mintAsset distributeToHolders distributeToHoldersFx getAssetHoldersCount getAssetCirculating"
built_in:"mdv pow powf memcopy bcltof bcftol Get_A1 Get_A2 Get_A3 Get_A4 Get_B1 Get_B2 Get_B3 Get_B4 Set_A1 Set_A2 Set_A3 Set_A4 Set_A1_A2 Set_A3_A4 Set_B1 Set_B2 Set_B3 Set_B4 Set_B1_B2 Set_B3_B4 Clear_A Clear_B Clear_A_And_B Copy_A_From_B Copy_B_From_A Check_A_Is_Zero Check_B_Is_Zero Check_A_Equals_B Swap_A_and_B OR_A_with_B OR_B_with_A AND_A_with_B AND_B_with_A XOR_A_with_B XOR_B_with_A Add_A_To_B Add_B_To_A Sub_A_From_B Sub_B_From_A Mul_A_By_B Mul_B_By_A Div_A_By_B Div_B_By_A MD5_A_To_B Check_MD5_A_With_B HASH160_A_To_B Check_HASH160_A_With_B SHA256_A_To_B Check_SHA256_A_With_B Get_Block_Timestamp Get_Creation_Timestamp Get_Last_Block_Timestamp Put_Last_Block_Hash_In_A A_To_Tx_After_Timestamp Get_Type_For_Tx_In_A Get_Amount_For_Tx_In_A Get_Timestamp_For_Tx_In_A Get_Random_Id_For_Tx_In_A Message_From_Tx_In_A_To_B B_To_Address_Of_Tx_In_A B_To_Address_Of_Creator Get_Current_Balance Get_Previous_Balance Send_To_Address_In_B Send_All_To_Address_In_B Send_Old_To_Address_In_B Send_A_To_Address_In_B Add_Minutes_To_Timestamp Check_Sig_B_With_A Get_Code_Hash_Id Get_Map_Value_Keys_In_A Set_Map_Value_Keys_In_A Issue_Asset Mint_Asset Distribute_To_Asset_Holders Get_Asset_Holders_Count Get_Activation_Fee Put_Last_Block_GSig_In_A B_To_Assets_Of_Tx_In_A Get_Asset_Circulating Get_Account_Balance F_Get_A1 F_Get_A2 F_Get_A3 F_Get_A4 F_Get_B1 F_Get_B2 F_Get_B3 F_Get_B4 F_Set_A1 F_Set_A2 F_Set_A3 F_Set_A4 F_Set_B1 F_Set_B2 F_Set_B3 F_Set_B4 F_Get_Amount_For_Tx_In_A F_Get_Current_Balance F_Get_Previous_Balance F_Send_To_Address_In_B F_Get_Map_Value_Keys_In_A F_Get_Activation_Fee F_Get_Asset_Circulating F_Get_Account_Balance getNextTx getNextTxFromBlockheight getBlockheight getAmount getAmountFx getSender getType readMessage readAssets getQuantity sendAmount sendAmountFx sendMessage sendAmountAndMessage sendAmountAndMessageFx sendBalance sendQuantity sendQuantityAndAmount sendQuantityAndAmountFx getCurrentBlockheight getWeakRandomNumber getCreator getCreatorOf getCodeHashOf getActivationOf getActivationOfFx getCurrentBalance getCurrentBalanceFx getAssetBalance setMapValue setMapValueFx getMapValue getMapValueFx getExtMapValue getExtMapValueFx checkSignature issueAsset mintAsset distributeToHolders distributeToHoldersFx getAssetHoldersCount getAssetCirculating getAccountBalance getAccountBalanceFx getAccountQuantity"
},g=[c,a,t,n.C_BLOCK_COMMENT_MODE,l,i],m={variants:[{begin:/=/,end:/;/},{
begin:/\(/,end:/\)/},{beginKeywords:"return else",end:/;/}],
keywords:u,contains:g.concat([{begin:/\(/,end:/\)/,keywords:u,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link href="3rd-party/styles/tomorrow.css" rel="stylesheet">
</head>

<body data-version="2.1.1">
<body data-version="2.2.1">
<header class="gdrow1 gdcol12 gmrow1 headerDesktop headerMobile" id="h1_title"><strong>SmartC</strong> - C Compiler for Signum - %version%</header>
<fieldset id="source_fieldset" class="gdrow2 gdcol12 gmrow2"><legend id="source_legend">&#10064; Source code:</legend>
<div id="source_window" class="div_window_source">
Expand Down
Loading

0 comments on commit cc037ca

Please sign in to comment.